Return a command of Appium Returns: str: A string of command URL
(command: str)
| 29 | |
| 30 | |
| 31 | def appium_command(command: str) -> str: |
| 32 | """Return a command of Appium |
| 33 | |
| 34 | Returns: |
| 35 | str: A string of command URL |
| 36 | """ |
| 37 | return ( |
| 38 | f'{SERVER_URL_BASE}{command}' |
| 39 | if SERVER_URL_BASE.endswith('/') or command.startswith('/') |
| 40 | else f'{SERVER_URL_BASE}/{command}' |
| 41 | ) |
| 42 | |
| 43 | |
| 44 | def android_w3c_driver() -> 'WebDriver': |
no outgoing calls
no test coverage detected