File tree Expand file tree Collapse file tree 3 files changed +12
-21
lines changed Expand file tree Collapse file tree 3 files changed +12
-21
lines changed Original file line number Diff line number Diff line change @@ -18,20 +18,16 @@ jobs:
18
18
fail-fast : false
19
19
matrix :
20
20
include :
21
- - chromedriverVersion : " 113.0.5672.63"
22
- apiLevel : 32
21
+ - apiLevel : 32
23
22
emuTag : google_apis
24
23
arch : x86_64
25
- - chromedriverVersion : " 83.0.4103.39"
26
- apiLevel : 30
24
+ - apiLevel : 30
27
25
emuTag : google_apis
28
26
arch : x86
29
- - chromedriverVersion : " 2.44"
30
- apiLevel : 28
27
+ - apiLevel : 28
31
28
emuTag : default
32
29
arch : x86
33
- - chromedriverVersion : " 2.20"
34
- apiLevel : 23
30
+ - apiLevel : 23
35
31
emuTag : default
36
32
arch : x86
37
33
93
89
cwd=$(pwd)
94
90
pushd "$cwd"
95
91
cd ~
96
- CHROMEDRIVER_VERSION="${{ matrix.chromedriverVersion }}" appium driver install --source=local "$cwd"
92
+ appium driver install --source=local "$cwd"
97
93
appium driver doctor uiautomator2
98
94
nohup appium server \
99
95
--port=$APPIUM_TEST_SERVER_PORT \
Original file line number Diff line number Diff line change @@ -1683,6 +1683,8 @@ There are several ways to provide a customized Chromedriver to UIA2 driver:
1683
1683
1684
1684
#### When installing the driver
1685
1685
1686
+ _ Note_ : This only works for driver versions below 3.8.0
1687
+
1686
1688
Specify the Chromedriver version in the ` CHROMEDRIVER_VERSION ` environment variable:
1687
1689
1688
1690
``` bash
@@ -1744,19 +1746,13 @@ There is a possibility to automatically download the necessary chromedriver(s) i
1744
1746
1745
1747
### Troubleshooting Chromedriver Download Issues
1746
1748
1747
- When UIA2 driver is installed it automatically downloads Chromedriver, so there is a possibility
1748
- of network or other issues leading to an installation failure.
1749
-
1750
- By default, Chromedriver is retrieved from ` https://chromedriver.storage.googleapis.com/ ` .
1751
- To use a mirror of the above URL change the value of ` CHROMEDRIVER_CDNURL ` environemnt variable:
1752
-
1753
- ``` bash
1754
- CHROMEDRIVER_CDNURL=https://npmmirror.com/mirrors/chromedriver appium driver install uiautomator2
1755
- ```
1749
+ Check the [ Custom binaries url] ( https://github.com/appium/appium-chromedriver?tab=readme-ov-file#custom-binaries-url )
1750
+ section of appium-chromedriver README for more details on how to customize the download CDN.
1756
1751
1757
1752
It may also be necessary to adjust network proxy and firewall settings for the above to work.
1758
1753
1759
- In case you would like skip the download of Chromedriver entirely, do it by
1754
+ If you use a UIA2 driver below version 3.8.0, and you
1755
+ would like skip the automated download of Chromedriver upon driver install, do it by
1760
1756
defining the ` APPIUM_SKIP_CHROMEDRIVER_INSTALL ` environment variable:
1761
1757
1762
1758
``` bash
Original file line number Diff line number Diff line change 57
57
},
58
58
"dependencies" : {
59
59
"appium-adb" : " ^12.5.2" ,
60
- "appium-android-driver" : " ^9.10.1" ,
61
- "appium-chromedriver" : " ^5.6.28" ,
60
+ "appium-android-driver" : " ^9.11.0" ,
62
61
"appium-uiautomator2-server" : " ^7.0.24" ,
63
62
"asyncbox" : " ^3.0.0" ,
64
63
"axios" : " ^1.6.5" ,
You can’t perform that action at this time.
0 commit comments