-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation for webdriverio incorrectly says element when it means element id. #4172
Comments
Can you propose a fix? I am not quite sure what you are talking about. |
The proposed fix would be updating the docs here - http://v4.webdriver.io/v3.4/api/protocol/touchScroll.html To include in the description that it has to be an id property of an element, not just an 'element'. I think the error message is more descriptive than the docs. Can I pull request the docs somehow? |
Yes, just press on the |
@PHUITesting any luck? |
Closing due to inactivity. |
// webdriver.io example
driver.touchScroll({
el: element,
xOffset: 10,
yOffset: 100
});
Error:
Wrong parameters applied for touchScroll
Usage: touchScroll(xoffset, yoffset, element)
Property Description:
"xoffset" (number): the x offset in pixels to scroll by
"yoffset" (number): the y offset in pixels to scroll by
"element" (string): ID of the element where the scroll starts
For more info see https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidtouchscroll
Documentation doesn't specify this is just an ID, it just says element.
The text was updated successfully, but these errors were encountered: