java.lang.Object
net.serenitybdd.screenplay.playwright.questions.FrameContent

public class FrameContent extends Object
Questions about content within an iframe.
  • Method Details

    • inFrame

      public static FrameContent inFrame(String frameSelector)
      Access content within the specified frame.
    • textOf

      public net.serenitybdd.screenplay.Question<String> textOf(String elementSelector)
      Get the text content of an element within the frame.
    • valueOf

      public net.serenitybdd.screenplay.Question<String> valueOf(String elementSelector)
      Get the input value of an element within the frame.
    • isVisible

      public net.serenitybdd.screenplay.Question<Boolean> isVisible(String elementSelector)
      Check if an element is visible within the frame.
    • countOf

      public net.serenitybdd.screenplay.Question<Integer> countOf(String elementSelector)
      Get the count of matching elements within the frame.
    • attributeOf

      public net.serenitybdd.screenplay.Question<String> attributeOf(String elementSelector, String attributeName)
      Get the attribute value of an element within the frame.
    • allTextsOf

      public net.serenitybdd.screenplay.Question<List<String>> allTextsOf(String elementSelector)
      Get text from all matching elements within the frame.