🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.clickButton3()
  2. B.findDivNumber7()
  3. C.loginAs(email, password)
  4. 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 →