Bring a code back from a company website tab
- Multiple tabs
- Window handles
- Cross-page data
A professional network: a 3-step sign-up wizard, a feed with likes, comments and lazy-loaded posts, a notifications dropdown, a messaging drawer with auto-replies, job search with filters and a multi-step Easy Apply modal, member profiles with connect/withdraw, a skills tag input and company pages that open a careers site in a new tab.
Your starter code already declares TEST_URL — never hardcode a host.
Objective
From the Northwind Labs company page, open the company website in a new tab, read the careers code shown there, switch back to ConnectIn and confirm the code.
Your Task
- 1Open TEST_URL, click Jobs (#nav-jobs) and search for “Northwind”.
- 2In the details pane, click the company name (#job-company-link) to open the Northwind Labs page (#/company/northwind-labs).
- 3Click “Visit website” (#visit-website). It opens the careers site in a new tab.
- 4Switch to the new tab and read the code in #careers-code.
- 5Switch back to the ConnectIn tab, type the code into #careers-code-input and click Confirm (#confirm-code).
- 6Assert #code-status reads “Code confirmed”.
Validation Checks
- The careers code from the new tab is entered on the company page.
- The company page reports “Code confirmed”.
- The test switches to the new tab to read the code.
- The test makes at least two assertions.
Fixtures
- alex@connectin.test
- Password
- Connect@2026
- Account name
- Alex Morgan
- Password rules
- 8+ characters with an uppercase letter, a number and a special character
- Locations
- Bengaluru, India · Berlin, Germany · London, UK · New York, US · Toronto, Canada
- Featured company
- Northwind Labs (#/company/northwind-labs)
Cloud Execution & Grading Guide
This Medium Selenium Challenges exercise runs inside TargetQA's managed cloud sandbox using Selenium WebDriver 4 (Java, Python, C#). Every submission runs inside an isolated headless Chromium container with pre-synced drivers, capturing live console logs, DOM assertions, and a 720p step-by-step video replay.
- Supported stacks: Java (Selenium 4 + JUnit 5) · Python (Selenium 4 + pytest) · C# (Selenium 4 + NUnit)
- Zero local setup: Use the pre-declared
TEST_URLvariable so your script targets the live ConnectIn sandbox reliably without hardcoding hosts. - Automated grading: Click Run to inspect step logs and behavior, then click Submit to validate all 4 acceptance checks and earn 50 points.
Selenium WebDriver 4 · Selenium Challenges Practice Track · ConnectIn