Chapter 5
- Answer: The Page Object design pattern gives us a way to abstract our tests away so that we can make these tests more maintainable. We can make tests that only require updating if new steps have been added; otherwise, it just requires the page object to be updated.
- Answer:
@FindBy(how=How.ID, using='myId'). - Answer:
@CacheLookup. - Answer:
PageFactory.initElements();.