21 Page Objects part 1 - WebdriverIO

Published: 10 October 2018
on channel: Will Brock
2,928
31

The Page Object pattern allows you to abstract parts of your page out of your end to end tests and into a Javascript class. This makes your code much more reusable throughout all tests.

In part one we go over converting our existing tests into the page object pattern by creating a Page base class and Login page with an open method and transferring our selectors into getters in our Login page class.

Examples used in the video:
https://github.com/WillBrock/webdrive...


Watch video 21 Page Objects part 1 - WebdriverIO online without registration, duration hours minute second in high quality. This video was added by user Will Brock 10 October 2018, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,928 once and liked it 31 people.