UNPKG

appium

Version:
80 lines (73 loc) 2.38 kB
--- name: Replace the value short_description: Replace the value to element directly description: > Replace the value to element directly. example_usage: java: | // TODO Java sample python: | // TODO: Python example javascript_wd: | // TODO JavaScript sample javascript_wdio: | // TODO JavaScript sample ruby: | element = @driver.find_element :accessibility_id, "SomeAccessibilityID" @driver.replace_value element, 'some' php: | // TODO PHP sample csharp: | // TODO C# sample client_docs: java: "https://seleniumhq.github.io/selenium/docs/api/java/org/openqa/selenium/WebElement.html#getText--" # TODO Java documentation link python: "http://selenium-python.readthedocs.io/api.html" # TODO Python documentation link javascript_wdio: "http://webdriver.io/api/property/getText.html" # TODO JAvaScript documentation link javascript_wd: "https://github.com/admc/wd/blob/master/lib/commands.js#L1832" # TODO JAvaScript documentation link ruby: "http://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Device#replace_value-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 uiautomation: true android: uiautomator2: true uiautomator: true mac: mac: true windows: windows: true 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: /wd/hub/session/:session_id/appium/element/:element_id/replace_value method: 'POST' url_parameters: - name: session_id description: ID of the session to route the command to - name: element_id description: ID of the element to get the text from json_parameters: - name: value type: array<string> description: The sequence of keys to type. An array must be provided. The server should flatten the array items to a single string to be typed. # 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#L451