Get Questions
Text Questions
Extract specific text information from your application
When you need to extract specific text information—such as the name of a selected card or the last modified date of an item—you can use the agent.get()
method with a string (str
) response schema.
This approach is useful for retrieving dynamic content, validating UI text, or making assertions in your tests.
Example Page
Suppose you have the following cards in your application:
Examples:
This approach allows you to extract and validate specific text values from your application, making your tests more precise and robust.
Tip:
Use clear, unambiguous questions to ensure reliable text answers from the