Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
To develop complex scripts, or even just a large library of scripts using Selenium Webdriver, eventually a more abstract way of approaching the interface between the script and the page will be needed. In this video we will take a look at page models and how this design pattern can help us create scripts that are easier to create, maintain, and understand.
Learn more
Other Languages Handling of Locators
In many languages, you would store locators as a static
property. These are sometimes returned to as class properties
or class level fields
.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Lars Hartvigsen
730 Points1 Answer
-
Adam Travers
568 PointsCould you elaborate on this please? const invitees = [...]; invitees.forEach(homePage.addInvitee, homePage);
Posted by Adam TraversAdam Travers
568 Points1 Answer
-
john reaser
440 Points1 Answer
-
MOD
Jonathan Grieve
Treehouse Moderator 91,254 Points1 Answer
-
PLUS
Stewart Haynes
Courses Plus Student 898 Points2 Answers
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up