Class InputField

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

public class InputField
extends java.lang.Object
An HTML INPUT field
  • Constructor Summary

    Constructors 
    Constructor Description
    InputField()  
  • Method Summary

    Modifier and Type Method Description
    static SearchableTarget called​(java.lang.String name)
    Locate a field with a given name, id or class.
    static Target withLabel​(java.lang.String labelText)  
    static SearchableTarget withPlaceholder​(java.lang.String placeholderName)
    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

    • InputField

      public InputField()
  • Method Details

    • called

      public static SearchableTarget called​(java.lang.String name)
      Locate a field with a given name, id or class.
    • withPlaceholder

      public static SearchableTarget withPlaceholder​(java.lang.String placeholderName)
      Locate an HTML input field with a specified placeholder name
    • withLabel

      public static Target withLabel​(java.lang.String labelText)