File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ def test_command(self, argument):
118
118
def add_command(self):
119
119
return ('post', 'session/$sessionId/path/to/your/custom/url')
120
120
121
- driver = webdriver.Remote('http://localhost:4723/wd/hub', desired_caps ,
121
+ driver = webdriver.Remote('http://localhost:4723/wd/hub', options=options ,
122
122
extensions=[YourCustomCommand])
123
123
124
124
# Then, the driver sends a post request to `session/$sessionId/path/to/your/custom/url`
@@ -138,7 +138,7 @@ def custom_method_name(self, element_id):
138
138
def add_command(self):
139
139
return ('GET', 'session/$sessionId/path/to/your/custom/$id/url')
140
140
141
- driver = webdriver.Remote('http://localhost:4723/wd/hub', desired_caps ,
141
+ driver = webdriver.Remote('http://localhost:4723/wd/hub', options=options ,
142
142
extensions=[YourCustomCommand])
143
143
element = driver.find_elemeent(by=AppiumBy.ACCESSIBILITY_ID, value='id')
144
144
You can’t perform that action at this time.
0 commit comments