Skip to content

Commit 21e53ae

Browse files
author
Álvaro Santos Laserna López
committed
fix remote
1 parent 11d7dbe commit 21e53ae

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/selenium_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class TestStringMethods(object):
1212
@pytest.yield_fixture(autouse=True)
1313
def selenium_driver(self):
1414
driver = NewDriver() \
15-
.set_logger().set_browser('chrome').set_soft_assert(True).set_selenium_driver()
15+
.set_logger().set_browser('chrome').set_remote_url("http://localhost:4444/wd/hub").set_soft_assert(True).set_selenium_driver()
1616
yield driver
1717
driver.quit()
1818

testui/support/appium_driver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def __set_ios_caps(self):
188188
self.__desired_capabilities['platformVersion'] = '13.2'
189189

190190
def __set_selenium_caps(self):
191-
self.__desired_capabilities['platformName'] = self.__platform_name
191+
self.__desired_capabilities['browserName'] = self.__browser_name
192192

193193
def set_appium_driver(self):
194194
if self.__platform_name.lower() == 'android':

0 commit comments

Comments
 (0)