Skip to content

toRightOf()

Search relative HTML elements with this relativeSelector.

await click(link("Block", toRightOf("name"))
await write(textBox("last name", toRightOf("first name"))
Name Type Description
selector selector | string Web element selector.
Type Description
RelativeSearchElement .