Package net.serenitybdd.screenplay.ui
Class InputField
java.lang.Object
net.serenitybdd.screenplay.ui.InputField
-
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 Targetstatic SearchableTargetwithNameOrId(String name) Locate a field with a given name, id, data-test or ARIA label.static SearchableTargetwithPlaceholder(String placeholderName) Locate an HTML input field with a specified placeholder name
-
Constructor Details
-
InputField
public InputField()
-
-
Method Details
-
withNameOrId
Locate a field with a given name, id, data-test or ARIA label. -
withPlaceholder
Locate an HTML input field with a specified placeholder name -
withLabel
-
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
-