docs: Update wdio touchScroll arguments
* Update wdio touchScroll arguments
wdio `touchScroll` accepts 3 arguments `xoffset, yoffset, element` reference docs
* Updated javascript_wdio documentation link
MODIFY
commands-yml/commands/interactions/touch/scroll.yml
commands-yml/commands/interactions/touch/scroll.yml
@@ -21,11 +21,7 @@ example_usage:
await driver.scroll(10, 100);
javascript_wdio:
|
- driver.touchScroll({
- el: element,
- xOffset: 10,
- yOffset: 100
- });
+ driver.touchScroll(10, 100, element);
ruby:
|
touch_actions.scroll(element, 10, 100).perform
@@ -42,7 +38,7 @@ example_usage:
client_docs:
java: "https://seleniumhq.github.io/selenium/docs/api/java/org/openqa/selenium/interactions/touch/TouchActions.html#scroll-int-int-"
python: "https://seleniumhq.github.io/selenium/docs/api/py/webdriver/selenium.webdriver.common.touch_actions.html#selenium.webdriver.common.touch_actions.TouchActions.scroll"
- javascript_wdio: "http://webdriver.io/api/protocol/touchScroll.html"
+ javascript_wdio: "https://webdriver.io/docs/api/jsonwp.html#touchscroll"
javascript_wd: "https://github.com/admc/wd/blob/master/lib/commands.js#L425"
ruby: "https://www.rubydoc.info/gems/selenium-webdriver/Selenium%2FWebDriver%2FTouchActionBuilder:scroll"
ruby_core: "https://www.rubydoc.info/gems/selenium-webdriver/Selenium%2FWebDriver%2FTouchActionBuilder:scroll"

docs: Update wdio touchScroll arguments (#13674)

* Update wdio touchScroll arguments

wdio `touchScroll` accepts 3 arguments `xoffset, yoffset, element` reference docs https://webdriver.io/docs/api/jsonwp.html#touchscroll

* Updated javascript_wdio documentation link