UNPKG

appium

Version:
71 lines (63 loc) 1.81 kB
--- name: Shake short_description: Perform a shake action on the device example_usage: java: | driver.shake(); python: | self.driver.shake(); javascript_wd: | await driver.shake(); javascript_wdio: | driver.shake(); ruby: | @driver.shake php: | $driver->shake(); csharp: | // TODO C# sample client_docs: java: "http://appium.github.io/java-client/io/appium/java_client/ios/ShakesDevice.html#shake--" python: "https://github.com/appium/python-client/blob/master/appium/webdriver/webdriver.py#L655" javascript_wdio: "http://webdriver.io/api/mobile/shake.html" javascript_wd: "https://github.com/admc/wd/blob/master/lib/commands.js#L2342" ruby: "http://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Device#shake-instance_method" php: "https://github.com/appium/php-client/" # TODO PHP documentation link csharp: "https://github.com/appium/appium-dotnet-driver/" # TODO Dotnet documentation link # Driver support by platform driver_support: ios: xcuitest: true (simulator only) uiautomation: true android: uiautomator2: false uiautomator: false mac: mac: false # TODO Confirm this that mouse movements windows: windows: false # TODO Confirm this client_support: java: true python: true ruby: true php: true csharp: true javascript_wd: true javascript_wdio: true # Information about the HTTP endpoints endpoint: url: /session/:session_id/appium/device/shake 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#L301