webdriverio: dragAndDrop is not using the duration argument when using the JSON Wire protocol
Environment (please complete the following information):
- WebdriverIO version: 5 and 6
Since this issue is in both versions, I would like to cherrypick this to the LTS release as well.
Describe the bug
The dragAndDrop command accepts a duration argument.
When using the webdriver protocol is uses the duration as expected.
When using the json wire protocol the duration is not used.
Expected behavior Use the duration for either protocol
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 16 (16 by maintainers)
Commits related to this issue
- [#5541] dragAndDrop to sleep for given duration in JsonWireProtocol (#5783) — committed to webdriverio/webdriverio by mathew-jithin 4 years ago
@christian-bromann Sorry, was equipped with some work in office these days. Forgot to check on this.
I will try to give a pull by Wednesday. Will surely check it out today 😃
(Just updating) Working on this. Never got time to check after I last commented. Will try to give a pull by Saturday.