Refactored
This commit is contained in:
parent
47e968927a
commit
c7d988bd61
|
@ -17,7 +17,7 @@ class MSiteChromeAndroidUITests(unittest.TestCase):
|
|||
'appActivity': 'com.google.android.apps.chrome.Main',
|
||||
'browserName': 'chrome'
|
||||
}
|
||||
self.driver = webdriver.Remote('http://10.161.128.186:4444/wd/hub', desired_caps)
|
||||
self.driver = webdriver.Remote('http://127.0.0.1:4444/wd/hub', desired_caps)
|
||||
|
||||
def test_open_url(self):
|
||||
self.driver.get('http://google.com')
|
||||
|
|
|
@ -17,7 +17,7 @@ class MSiteDefaultBrowserAndroidUITests(unittest.TestCase):
|
|||
'appActivity': 'com.android.browser.BrowserActivity',
|
||||
'browserName': 'browser'
|
||||
}
|
||||
self.driver = webdriver.Remote('http://10.161.128.186:4444/wd/hub', desired_caps)
|
||||
self.driver = webdriver.Remote('http://127.0.0.1:4444/wd/hub', desired_caps)
|
||||
|
||||
def test_open_url(self):
|
||||
self.driver.get('http://google.com')
|
||||
|
|
|
@ -11,7 +11,8 @@ class TestE2EChrome(TestCase):
|
|||
'platformName': 'Android',
|
||||
'deviceName': 'Android Emulator',
|
||||
'appPackage': 'com.android.chrome',
|
||||
'appActivity': 'com.google.android.apps.chrome.Main'
|
||||
'appActivity': 'com.google.android.apps.chrome.Main',
|
||||
'browserName': 'chrome'
|
||||
}
|
||||
self.driver = webdriver.Remote('http://localhost:4723/wd/hub', desired_caps)
|
||||
|
||||
|
|
Loading…
Reference in a new issue