elementIdElements
Search for multiple elements on the page, starting from an element. The located elements will be returned as a WebElement JSON objects. The table below lists the locator strategies that each server should support. Elements should be returned in the order located in the DOM.
Usage
1 | browser.elementIdElements(ID,selector); |
Parameters
Param | Type | Details |
---|---|---|
ID | String | ID of a WebElement JSON object to route the command to |
selector | String | selector to query the elements |
Returns
- <Object[]>: A list of WebElement JSON objects for the located elements.