← Quiz: Page Object Model: all 10 questions
Quiz: Page Object Model · Question 7 of 10
Which is a good page-object method name?
Which is a good page-object method name?
- A.clickButton3()
- B.findDivNumber7()
- C.loginAs(email, password)
- D.testLoginWorks()
Answer & explanation
Correct answer: loginAs(email, password)
Methods describe user actions on the page, not low-level element pokes.
Can you get the rest right without peeking?
Take the timed Quiz: Page Object Model quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →