Selenium WebDriver 4

Set a page load timeout

Medium70 pts~25 min
  • Timeouts
  • Page load
Practice app · TargetQA Practice Store

A small storefront landing page for browser setup, navigation, titles, URLs and screenshots.

Test URL
/lab/qa-automation-set-a-page-load-timeout

Your starter code already declares TEST_URL — never hardcode a host.

Objective

Bound how long navigation may take by configuring a page load timeout before opening the app.

Your task

  1. 1Set the page load timeout to 10 seconds before calling get/GoToUrl.
  2. 2Open TEST_URL.
  3. 3Assert the title is “TargetQA Practice Store”.

Acceptance criteria

  • A page load timeout is configured
  • The practice app loaded
  • At least 1 assertion passes

Selenium WebDriver 4 · QA Automation · Setup & first script