Skip to main content

Relational accessor functions

_in

Parameters: accessor
Description:
Example:

link("delete", in(_cell("del2")))

_near | near

Parameters: element
Description: the element should be searched near another element.
Example:

_navigateTo("https://www.apple.com/");
_click(_link("ac-gn-link ac-gn-link-mac"));
_click(_link("ac-gn-link ac-gn-link-iphone",_near(_link("/ipad/"))));
_click(_link("/ipad/"));
_click(_span("chapternav-label[1]",_near(_link("/ipad/"))));