File tree 9 files changed +13
-12
lines changed
android_tests/lib/android/specs
9 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 55
55
appium driver install xcuitest
56
56
appium plugin install [email protected]
57
57
appium plugin install execute-driver
58
- nohup appium --use-plugins=images,execute-driver --relaxed-security --log-timestamp --log-no-colors --base-path=/wd/hub > appium.log &
58
+ nohup appium --use-plugins=images,execute-driver --relaxed-security --log-timestamp --log-no-colors > appium.log &
59
59
60
60
- name : Set up Ruby
61
61
uses : ruby/setup-ruby@v1
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ Commit based release not is [release_notes.md](./release_notes.md)
3
3
4
4
Release tags are https://github.com/appium/ruby_lib/releases .
5
5
6
+ ## not yet
7
+ - Use ` http://127.0.0.1:4723 ` as the default url destination instead of ` http://127.0.0.1:4723/wd/hub `
8
+
6
9
## 15.2.2 - 2024-08-06
7
10
- Fix non ` app ` capability behavior
8
11
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ def test_05_attributes_verify_all_attributes
54
54
55
55
expected = {
56
56
automation_name : :uiautomator2 ,
57
- custom_url : 'http://127.0.0.1:4723/wd/hub ' ,
57
+ custom_url : 'http://127.0.0.1:4723' ,
58
58
default_wait : 1 ,
59
59
sauce_username : nil ,
60
60
sauce_access_key : nil ,
Original file line number Diff line number Diff line change 13
13
"cleanUpCycle" : 2000 ,
14
14
"timeout" : 60000 ,
15
15
"proxy" : " org.openqa.grid.selenium.proxy.DefaultRemoteProxy" ,
16
- "url" : " http://localhost:4723/wd/hub " ,
16
+ "url" : " http://localhost:4723" ,
17
17
"host" : " localhost" ,
18
18
"port" : 4723 ,
19
19
"maxSession" : 1 ,
Original file line number Diff line number Diff line change 13
13
"port" : 4444 ,
14
14
"register" : true ,
15
15
"registerCycle" : 5000 ,
16
- "hub" : " http://localhost:4444/wd/hub " ,
16
+ "hub" : " http://localhost:4444" ,
17
17
"nodeStatusCheckTimeout" : 5000 ,
18
18
"nodePolling" : 5000 ,
19
19
"role" : " hub" ,
Original file line number Diff line number Diff line change @@ -63,9 +63,9 @@ def test_04_verify_all_attributes
63
63
end
64
64
65
65
def test_05_verify_attributes_are_immutable
66
- assert_equal driver_attributes [ :custom_url ] , 'http://127.0.0.1:4723/wd/hub '
66
+ assert_equal driver_attributes [ :custom_url ] , 'http://127.0.0.1:4723'
67
67
driver_attributes [ :custom_url ] = true
68
- assert_equal driver_attributes [ :custom_url ] , 'http://127.0.0.1:4723/wd/hub '
68
+ assert_equal driver_attributes [ :custom_url ] , 'http://127.0.0.1:4723'
69
69
end
70
70
71
71
def test_06_verify_attribute_of_caps_are_not_immutable_because_it_depends_on_selenium
Original file line number Diff line number Diff line change 17
17
def des_server_caps
18
18
{
19
19
debug : true ,
20
- server_url : " #{ ENV [ 'appium_server' ] ||= 'http://127.0.0.1:4723' } /wd/hub" ,
20
+ server_url : ENV [ 'appium_server' ] ||= 'http://127.0.0.1:4723' ,
21
21
wait : 25 ,
22
22
wait_timeout : 20 ,
23
23
wait_interval : 0.3
Original file line number Diff line number Diff line change @@ -427,7 +427,7 @@ def server_url
427
427
return @core . custom_url if @core . custom_url
428
428
return @sauce . server_url if @sauce . sauce_server_url?
429
429
430
- "http://127.0.0.1:#{ @core . port } /wd/hub "
430
+ "http://127.0.0.1:#{ @core . port } "
431
431
end
432
432
433
433
# Restarts the driver
Original file line number Diff line number Diff line change @@ -37,8 +37,7 @@ $ appium driver install xcuitest # proper driver name to install
37
37
$ appium server
38
38
```
39
39
40
- > ** Note** Please set ` server_url ` properly like the below since the appium 2
41
- > changed the default WebDriver URL to without ` /wd/hub ` to follow W3C.
40
+ > ** Note** Please set ` server_url ` properly like the below for Appium v1.
42
41
> ```
43
42
> opts = {
44
43
> caps: {
@@ -47,13 +46,12 @@ $ appium server
47
46
> app: '/path/to/MyiOS.app'
48
47
> },
49
48
> appium_lib: {
50
- > server_url: 'http://127.0.0.1:4723'
49
+ > server_url: 'http://127.0.0.1:4723/wd/hub '
51
50
> }
52
51
> }
53
52
> appium_driver = Appium::Driver.new(opts)
54
53
> appium_driver.start_driver
55
54
> ```
56
- > Or please start the appium server with `appium server --base-path=/wd/hub`
57
55
58
56
### Appium 1
59
57
```bash
You can’t perform that action at this time.
0 commit comments