toRightOf()
Search relative HTML elements with this relativeSelector.
Examples
Section titled “Examples”await click(link("Block", toRightOf("name"))await write(textBox("last name", toRightOf("first name"))Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
selector | selector | string | Web element selector. |
Returns
Section titled “Returns”| Type | Description |
|---|---|
| RelativeSearchElement | . |