Skip to content

selector()

Identifies an element on the page.

link('Sign in')
button('Get Started')
$('#id')
text('Home')
NameTypeDescription
textstringText to identify the element.

This API does not return any values.