View Source Improve this doc

elementIdSelected

Determine if an OPTION element, or an INPUT element of type checkbox or radiobutton is currently selected.

Usage

1
2
browser.elementIdSelected(ID);

Parameters

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

Returns

  • <Boolean>: true if the element is selected.