public class Image extends Object
Constructor and Description |
---|
Image() |
Modifier and Type | Method and Description |
---|---|
static SearchableTarget |
located(org.openqa.selenium.By selector) |
static SearchableTarget |
locatedBy(String selector)
Locate an image using an arbitrary CSS or XPath expression
|
static SearchableTarget |
withAltText(String altText)
Locate a image with a specified alt text
|
static SearchableTarget |
withSrc(String srcValue)
Locate a image with a specified src attribute
|
static SearchableTarget |
withSrcEndingWith(String srcValue) |
static SearchableTarget |
withSrcStartingWith(String srcValue) |
public static SearchableTarget withAltText(String altText)
public static SearchableTarget withSrc(String srcValue)
public static SearchableTarget withSrcEndingWith(String srcValue)
public static SearchableTarget withSrcStartingWith(String srcValue)
public static SearchableTarget locatedBy(String selector)
public static SearchableTarget located(org.openqa.selenium.By selector)
Copyright © 2022. All rights reserved.