Match the pattern to the need
QuizMediumJava only
Which pairs of need and pattern match? A Page Object is a class that stands for one web page and holds its locators and actions. Pick all that apply.
- Create Chrome, Firefox or a remote driver from a config value: Factory
- Load config.properties only once for the whole run: Singleton
- Create a user with 12 fields where most tests change only one: Builder
- Share one browser between all parallel tests: Singleton
- Keep locators and page actions out of test methods: Page Object
This question is part of Pro+
Pro+ opens every question in Interview Prep and the mock interview. Every article and the first 2 questions of each topic stay free. Hands-on Selenium and API tasks follow their course lesson's own lock.