Get Page Title
Last updated
Was this helpful?
Last updated
Was this helpful?
This is pre-built Action located under the @Browser Element Name. It instructs the Avo Assure Client to fetch the title of the current web page and save the result in the output variable. The Get Page Title Action is valuable for ensuring that the correct title is set for a web page, which is often an important part of validating the page’s identity and user experience.
Input: N/A
Output: <Dynamic Variable>;<Dynamic Variable>(Optional)
You are testing a web application to ensure the page title is correctly set and displays the expected content. The Get Page Title Action helps validate that the title of the page same as expected title after navigating to a specific page.
Targeted URL: https://www.example.com/home
Expected page title for the homepage: Home
After navigating to the home page (https://www.example.com/home), the title should be "Home" and it should be saved in the Output Variable {result}.
The Get Page Title Action is fetching the title of the current webpage and storing the title of the page in {result} output Variable as Home, which can be utilized for display or other purposes.