UNPKG

appium

Version:
65 lines (59 loc) 1.68 kB
--- name: Toggle Location Services short_description: Switch the state of the location service example_usage: java: | driver.toggleLocationServices(); python: | self.driver.toggle_location_services(); javascript_wd: | await driver.toggleLocationServices(); javascript_wdio: | driver.toggleLocationServices(); php: | // TODO csharp: | // TODO client_docs: java: "http://appium.github.io/java-client/io/appium/java_client/android/AndroidDriver.html#toggleLocationServices--" python: "https://github.com/appium/python-client/blob/master/appium/webdriver/webdriver.py#L774" javascript_wdio: "http://webdriver.io/api/mobile/toggleLocationServices.html" javascript_wd: "https://github.com/admc/wd/blob/master/lib/commands.js#L2758" php: "https://github.com/appium/php-client/" # TODO csharp: "https://github.com/appium/appium-dotnet-driver/" # TODO # Driver support by platform driver_support: ios: xcuitest: false uiautomation: false android: uiautomator2: true uiautomator: true mac: mac: false windows: windows: false client_support: java: true python: true ruby: false php: true csharp: true javascript_wd: true javascript_wdio: true # Information about the HTTP endpoints endpoint: url: /session/:session_id/appium/device/toggle_location_services method: POST url_parameters: - name: session_id description: ID of the session to route the command to # Links to specifications. Should link to at least one specification specifications: jsonwp: https://github.com/appium/appium-base-driver/blob/master/lib/mjsonwp/routes.js#L405