Self-test questions

  1. What is Page Object design pattern?
  2. What is the decorator that you put above a WebElement variable while looking for an element by ID with id='myId'?
  3. How do you cache the lookup of web elements?
  4. How do you initialize a Page Factory?

Get Learning Selenium Testing Tools - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.