Package net.serenitybdd.screenplay.ui
Class RadioButton
java.lang.Object
net.serenitybdd.screenplay.ui.RadioButton
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SearchableTargetlocated(org.openqa.selenium.By selector) Locate a button using an arbitrary CSS or XPath expressionstatic SearchableTargetLocate a button using an arbitrary CSS or XPath expressionstatic SearchableTargetwithAriaLabel(String name) Locate a button using the ARIA label valuestatic SearchableTargetwithCSSClass(String className) Look for an element with a given CSS classstatic SearchableTargetLocate a radio button with a given name or id.static SearchableTargetLocate a radio button with a given labelstatic SearchableTargetLocate a radio button with a given namestatic SearchableTargetLocate a radio button with a given value.
-
Constructor Details
-
RadioButton
public RadioButton()
-
-
Method Details
-
withId
Locate a radio button with a given name or id. -
withName
Locate a radio button with a given name -
withValue
Locate a radio button with a given value. -
withLabel
Locate a radio button with a given label -
withAriaLabel
Locate a button using the ARIA label value -
withCSSClass
Look for an element with a given CSS class -
locatedBy
Locate a button using an arbitrary CSS or XPath expression -
located
Locate a button using an arbitrary CSS or XPath expression
-