elementIdElement

Search for an element on the page, starting from an element. The located element will be returned as a WebElement JSON object. The table below lists the locator strategies that each server should support. Each locator must return the first matching element located in the DOM.

Usage

1
client.elementIdElement(ID,selector).then(callback);

Parameters

Param Type Details
ID String ID of a WebElement JSON object to route the command to
selector String selector to query the element