Select the syntax to locate an element using inner text.

A. css=tag:contains(“inner text”)
B. css=tag:value(“inner text”)
C. css=tag:attributes(“inner text”)
D. css=tag:class(“inner text”)

Ans: A


0 comments: