Package net.serenitybdd.screenplay.ui
Class Image
java.lang.Object
net.serenitybdd.screenplay.ui.Image
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SearchableTargetlocated(org.openqa.selenium.By selector) static SearchableTargetLocate an image using an arbitrary CSS or XPath expressionstatic SearchableTargetwithAltText(String altText) Locate a image with a specified alt textstatic SearchableTargetLocate a image with a specified src attributestatic SearchableTargetwithSrcEndingWith(String srcValue) static SearchableTargetwithSrcStartingWith(String srcValue)
-
Constructor Details
-
Image
public Image()
-
-
Method Details
-
withAltText
Locate a image with a specified alt text -
withSrc
Locate a image with a specified src attribute -
withSrcEndingWith
-
withSrcStartingWith
-
locatedBy
Locate an image using an arbitrary CSS or XPath expression -
located
-