Class FrameContent
java.lang.Object
net.serenitybdd.screenplay.playwright.questions.FrameContent
Questions about content within an iframe.
-
Method Summary
Modifier and TypeMethodDescriptionallTextsOf(String elementSelector) Get text from all matching elements within the frame.net.serenitybdd.screenplay.Question<String>attributeOf(String elementSelector, String attributeName) Get the attribute value of an element within the frame.net.serenitybdd.screenplay.Question<Integer>Get the count of matching elements within the frame.static FrameContentAccess content within the specified frame.net.serenitybdd.screenplay.Question<Boolean>Check if an element is visible within the frame.net.serenitybdd.screenplay.Question<String>Get the text content of an element within the frame.net.serenitybdd.screenplay.Question<String>Get the input value of an element within the frame.
-
Method Details
-
inFrame
Access content within the specified frame. -
textOf
Get the text content of an element within the frame. -
valueOf
Get the input value of an element within the frame. -
isVisible
Check if an element is visible within the frame. -
countOf
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
Get text from all matching elements within the frame.
-