Taiko
Documentation

Home / API Reference

relativeSelector

Lets you perform relative HTML element searches.

Examples

near('Home')
toLeftOf('Sign in')
toRightOf('Get Started')
above('Sign in')
below('Home')
link('Sign In',near("Home"),toLeftOf("Sign Out")) - Multiple selectors can be used to perform relative search

Parameters


selector

Web element selector.


Returns

.

RelativeSearchElement