Choose a fare in the fare selection modal
- Modals
- Radio buttons
- Scoped locators
An online travel agency: airport autocomplete, a custom calendar, travellers popover, timed search results with sorting and filters, a fare modal, passenger validation, a seat map, card payment inside an iframe, and a manage-booking page with native confirm and prompt dialogs.
Your starter code already declares TEST_URL — never hardcode a host.
Objective
Select the Kestrel Airways KS 803 flight, choose the Flex fare in the fare dialog, and verify the booking continues with that fare.
Your Task
- 1Open TEST_URL. The form is already filled with BLR → DEL on Fri, 20 Nov 2026. Click #search-flights and wait for the results.
- 2In the card with data-flight-id="KS803", click Select (.select-flight).
- 3In the dialog #fare-modal, choose the Flex fare (#fare-flex) and assert #fare-total shows ₹7,660.
- 4Click #fare-continue.
- 5Assert the dialog is closed and the trip summary (#summary-fare) shows the Flex fare for KS 803 (#summary-flight).
Validation Checks
- The fare dialog is closed.
- The traveller details page shows the Flex fare.
- The selected flight is KS 803.
- The test makes at least two assertions.
Fixtures
- Airports
- BLR Bengaluru · DEL New Delhi · BOM Mumbai · MAA Chennai · GOI Goa · HYD Hyderabad
- Today
- Tuesday, 10 November 2026 (earlier dates are disabled)
- Test card
- 4111 1111 1111 1111 · expiry 12/29 · CVV 123
- Declined card
- 4000 0000 0000 0002
- Existing booking
- PNR SW7K2Q · last name Verma
- Travellers
- Asha Verma (34, Female) · Rohan Verma (36, Male) · asha.verma@example.com · 9876543210
Cloud Execution & Grading Guide
This Easy 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 SkyWay 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 30 points.
Selenium WebDriver 4 · Selenium Challenges Practice Track · SkyWay