Black Friday Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Exam CPST-001 All Questions
Exam CPST-001 All Questions

View all questions & answers for the CPST-001 exam

GAQM: Software Testing CPST-001 Question # 6 Topic 1 Discussion

CPST-001 Exam Topic 1 Question 6 Discussion:
Question #: 6
Topic #: 1

What is the correct code snippet, to find the cheese in –

milkcheese


A.

driver.findElement(By.cssSelector("#food dairy.aged"));


B.

None of these


C.

driver.findElement(By.cssSelector("#food span"));


D.

driver.findElement(By.cssSelector("#food span.dairy.aged"));


Get Premium CPST-001 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.