webship-js 1.0.25 → 1.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.circleci/config.yml
CHANGED
|
@@ -47,7 +47,7 @@ commands:
|
|
|
47
47
|
wget https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_VERSION}_amd64.deb
|
|
48
48
|
sudo dpkg -i google-chrome-stable_${CHROME_VERSION}_amd64.deb
|
|
49
49
|
rm google-chrome-stable_${CHROME_VERSION}_amd64.deb
|
|
50
|
-
|
|
50
|
+
|
|
51
51
|
## Install/Update Chrome Driver.
|
|
52
52
|
- run:
|
|
53
53
|
name: Install/Update Chrome Driver
|
|
@@ -64,9 +64,9 @@ commands:
|
|
|
64
64
|
- run:
|
|
65
65
|
name: Run Selenium Standalone server
|
|
66
66
|
command: |
|
|
67
|
-
if [[ ! -f /home/circleci/selenium-server-4.
|
|
67
|
+
if [[ ! -f /home/circleci/selenium-server-4.4.0.jar ]]; then wget -O /home/circleci/selenium-server-4.4.0.jar https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.4.0/selenium-server-4.4.0.jar; fi
|
|
68
68
|
cd /home/circleci/
|
|
69
|
-
java -jar selenium-server-4.
|
|
69
|
+
java -jar selenium-server-4.4.0.jar standalone
|
|
70
70
|
background: true
|
|
71
71
|
|
|
72
72
|
jobs:
|
|
@@ -14,12 +14,15 @@ jobs:
|
|
|
14
14
|
- name: Install Chrome
|
|
15
15
|
run: |
|
|
16
16
|
sudo apt install libu2f-udev
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
sudo apt-get install libappindicator1 fonts-liberation libgbm1 libgtk-3-0 xdg-utils
|
|
18
|
+
export CHROME_BIN=/usr/bin/google-chrome
|
|
19
|
+
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
|
|
20
|
+
sudo apt-get clean
|
|
21
|
+
sudo apt-get update
|
|
22
|
+
sudo apt-get install dpkg
|
|
23
|
+
sudo dpkg -i google-chrome-stable_current_amd64.deb
|
|
24
|
+
rm google-chrome-stable_current_amd64.deb
|
|
25
|
+
google-chrome --version
|
|
23
26
|
|
|
24
27
|
- name: Install/Update Chrome Driver
|
|
25
28
|
run: |
|
|
@@ -40,8 +43,8 @@ jobs:
|
|
|
40
43
|
|
|
41
44
|
- name: Run Selenium Standalone server
|
|
42
45
|
run: |
|
|
43
|
-
wget https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.
|
|
44
|
-
java -jar selenium-server-4.
|
|
46
|
+
wget https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.4.0/selenium-server-4.4.0.jar
|
|
47
|
+
java -jar selenium-server-4.4.0.jar -role node -hub http://localhost:4444
|
|
45
48
|
|
|
46
49
|
- name: Install
|
|
47
50
|
run: yarn install
|
package/.travis-ci.yml
CHANGED
|
@@ -5,7 +5,7 @@ jdk:
|
|
|
5
5
|
- openjdk-11-jre
|
|
6
6
|
|
|
7
7
|
before_script:
|
|
8
|
-
- docker run -d -p 4444:4444 -v /dev/shm:/dev/shm selenium/standalone-firefox:4.
|
|
8
|
+
- docker run -d -p 4444:4444 -v /dev/shm:/dev/shm selenium/standalone-firefox:4.4.0-rc-1-prerelease-20210618
|
|
9
9
|
- docker ps
|
|
10
10
|
|
|
11
11
|
script:
|