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