An NDoc Documented Class Library

DefaultSelenium.IsChecked Method 

Gets whether a toggle-button (checkbox/radio) is checked. Fails if the specified element doesn't exist or isn't a toggle-button.

public bool IsChecked(
   string locator
);

Parameters

locator
an element locator pointing to a checkbox or radio button

Return Value

true if the checkbox is checked, false otherwise

Implements

ISelenium.IsChecked

See Also

DefaultSelenium Class | Selenium Namespace