3 WebdriverIO Tips: Scrolling Elements w/JS Execute (Tip #3)
Front-end Testing with Kevin
In this WebdriverIO Automated Testing Tutorial, we will be learning how to scroll inside of elements using the 'scrollIntoView' JS command, along with the WebdriverIO Execute command.
Tip #1: https://youtu.be/FiAmVdMCY2k Tip #2: https://youtu.be/fQH3rh1ezuQ
✅If you enjoy these videos and would like to support more videos, take a look at my WebdriverIO course to see if it may help you: ➡️https://learn.webdriver.io
💵Or your can show your support with a one-time donation 💵 https://paypal.me/klamping/5
💻Code 💻 https://github.com/wdio-wed/three-tips
🔗Links 🔗
Example being tested: http://uitestingplayground.com/scrollbars
Scroll Into View MDN Documentation: https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView
WebdriverIO AddCommand: http://webdriver.io/docs/customcommands.html ... https://www.youtube.com/watch?v=Jm_tHrieqXA
62950029 Bytes