Class Image

java.lang.Object
net.serenitybdd.screenplay.ui.Image

public class Image
extends java.lang.Object
An HTML IMG element
  • Constructor Summary

    Constructors 
    Constructor Description
    Image()  
  • Method Summary

    Modifier and Type Method Description
    static Target called​(java.lang.String name)
    Locate a field with a given name or id.
    static Target withAltText​(java.lang.String altText)
    Locate an HTML input field with a specified placeholder name

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Image

      public Image()
  • Method Details

    • called

      public static Target called​(java.lang.String name)
      Locate a field with a given name or id.
    • withAltText

      public static Target withAltText​(java.lang.String altText)
      Locate an HTML input field with a specified placeholder name