Use JavaScript executor to scroll and get page title
Preconditions (2)
Step 1: Open the browser and navigate to https://example.com
Step 2: Use JavaScript executor to scroll down 500 pixels vertically
Step 3: Use JavaScript executor to get the page title
Step 4: Verify the page title matches 'Example Domain'
✅ Expected Result: The page scrolls down 500 pixels and the page title is 'Example Domain'