Get Title
Retrieves the title of the current browser page (the text shown in the browser tab).
Common Properties
- Name - The custom name of the node.
- Color - The custom color of the node.
- Delay Before (sec) - Waits in seconds before executing the node.
- Delay After (sec) - Waits in seconds after executing the node.
- Continue On Error - Automation will continue regardless of any error. The default value is false.
info
If Continue On Error property is true, no error is caught when the project is executed, even if the Catch node is used.
Input
- Browser ID - The browser session identifier from the Open Browser node.
Output
- Title - The title of the current browser page as defined in the HTML
<title>tag.
Examples
Get Page Title
Browser ID: {{browser_id}}
Output: {{page_title}}
Verify Correct Page
1. Get Title node:
Browser ID: {{browser_id}}
Output: {{title}}
2. Condition: if {{title}} equals "Login Page"
Log Page Title
Browser ID: {{browser_id}}
Output: {{title}}
Then log: "Page title: {{title}}"
Wait for Title Change
Loop:
1. Get Title node:
Browser ID: {{browser_id}}
Output: {{title}}
2. Break if {{title}} contains "Dashboard"
3. Wait 1 second
Tips
- Use to verify successful page loads
- Helpful for confirming navigation to the correct page
- Page titles are defined in HTML
<title>tags - Use in conditional logic to handle different pages
- Useful with Switch Window to find specific tabs
Common Errors
- "Browser ID cannot be empty" - Connect to an Open Browser node
- "Browser session not found" - Ensure the Open Browser node has run successfully
Related Nodes
- Get URL - Get current URL
- Get Page Source - Get HTML source
- Switch Window - Switch between browser tabs
- List Windows - Get all window titles