http://127.0.0.1:4723/wd/hub
platformName=Android
platformVersion=9
deviceName=emulator-5554
Opens a new application to given Appium server.
Capabilities of appium server, Android and iOS,
Please check https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/server-args.md
| *Option* | *Man.* | *Description* |
| remote_url | Yes | Appium server url |
| alias | no | alias |
POST http://127.0.0.1:4723/wd/hub/session {"capabilities": {"firstMatch": [{"platformName": "Android", "appium:platformVersion": "9", "appium:deviceName": "emulator-5554"}]}, "desiredCapabilities": {"platformName": "Android", "platformVersion": "9", "deviceName": "emulator-5554"}}
Starting new HTTP connection (1): 127.0.0.1:4723
http://127.0.0.1:4723 "POST /wd/hub/session HTTP/1.1" 200 694
Finished Request
Opened application with session id 95d93129-4b29-481f-aa41-23be08010d9f
xpath=//android.webkit.WebView
Click element identified by `locator`.
Clicking element 'xpath=//android.webkit.WebView'.
POST http://127.0.0.1:4723/wd/hub/session/95d93129-4b29-481f-aa41-23be08010d9f/elements {"using": "xpath", "value": "//android.webkit.WebView"}
http://127.0.0.1:4723 "POST /wd/hub/session/95d93129-4b29-481f-aa41-23be08010d9f/elements HTTP/1.1" 200 267
Finished Request
POST http://127.0.0.1:4723/wd/hub/session/95d93129-4b29-481f-aa41-23be08010d9f/element/00000000-0000-0048-ffff-ffff00000026/click {"id": "00000000-0000-0048-ffff-ffff00000026"}
http://127.0.0.1:4723 "POST /wd/hub/session/95d93129-4b29-481f-aa41-23be08010d9f/element/00000000-0000-0048-ffff-ffff00000026/click HTTP/1.1" 200 14
Finished Request
xpath=//android.view.View[@text=\"去认证\"]
Verifies that no alert is present.
Multiple keywords with name 'Capture Page Screenshot' found. Give the full name of the keyword you want to use:
AppiumLibrary.Capture Page Screenshot
SeleniumLibrary.Capture Page Screenshot
Keyword 'Capture Page Screenshot' could not be run on failure: Multiple keywords with name 'Capture Page Screenshot' found. Give the full name of the keyword you want to use:
AppiumLibrary.Capture Page Screenshot
SeleniumLibrary.Capture Page Screenshot
No browser is open.
Traceback (most recent call last):
File "d:\lyl\study\python\lib\site-packages\SeleniumLibrary\__init__.py", line 360, in run_keyword
return DynamicCore.run_keyword(self, name, args, kwargs)
File "d:\lyl\study\python\lib\site-packages\SeleniumLibrary\base\robotlibcore.py", line 102, in run_keyword
return self.keywords[name](*args, **kwargs)
File "d:\lyl\study\python\lib\site-packages\SeleniumLibrary\keywords\alert.py", line 94, in alert_should_not_be_present
alert = self._wait_alert(timeout)
File "d:\lyl\study\python\lib\site-packages\SeleniumLibrary\keywords\alert.py", line 210, in _wait_alert
wait = WebDriverWait(self.driver, timeout)
File "d:\lyl\study\python\lib\site-packages\SeleniumLibrary\base\context.py", line 32, in driver
return self.ctx.driver
File "d:\lyl\study\python\lib\site-packages\SeleniumLibrary\__init__.py", line 403, in driver
raise NoOpenBrowser('No browser is open.')
SeleniumLibrary.errors.NoOpenBrowser: No browser is open.
Closes the current application and also close webdriver session.
No browser is open.
All Tests
Dating-agency
Dating-agency.UI-Testing
Dating-agency.UI-Testing.Login
Keyword 'Capture Page Screenshot' could not be run on failure: Multiple keywords with name 'Capture Page Screenshot' found. Give the full name of the keyword you want to use:
AppiumLibrary.Capture Page Screenshot
SeleniumLibrary.Capture Page Screenshot