Filter mobiles with the price slider and a brand
Medium50 pts~2 min
- Range sliders
- Checkboxes
- Keyboard input
- Dynamic lists
Practice app · FlipMart
An Indian electronics megastore: mobile-number + OTP login with an on-page SMS, an Electronics hover mega-menu, search autocomplete, listings with a price slider, brand filters, sort tabs and infinite scroll, a 3-product compare table, product pages with offers, pincode checks and rating breakdowns, a flash sale countdown, a login-gated wishlist, and a cart with UPI, card and Cash on Delivery checkout.
Your starter code already declares TEST_URL — never hardcode a host.
Objective
On the Mobiles listing, move the price slider to a maximum of ₹20,000, keep only the Kairo brand, and verify the filtered results.
Your task
- 1Open TEST_URL and open the Mobiles listing (#cat-mobiles or Mobiles in the category bar).
- 2Focus the price slider #price-max, press Home (₹0), then press ArrowRight 4 times. Each step is ₹5,000, so #price-max-value reads “Up to ₹20,000”.
- 3Tick the Kairo brand filter (#brand-kairo).
- 4Assert that #result-count reports 3 results and that each of the 3 cards is a Kairo phone priced at ₹20,000 or less.
Acceptance criteria
- The slider is set to ₹20,000.
- Only the Kairo brand is selected.
- Exactly 3 Kairo phones are listed.
- The test makes at least two assertions.
Fixtures
- Mobile number
- 9876543210
- OTP
- 482913 (also shown in the on-page SMS)
- Account name
- Rohan Mehta
- UPI ID
- rohan@fmupi
- Saved address
- 221B, 12th Main Road, Indiranagar, Bengaluru - 560038
- Pincodes
- 560001 / 560038 Bengaluru · 110001 New Delhi · 400001 Mumbai · 600001 Chennai · 700001 Kolkata · 500001 Hyderabad
- Today
- Tuesday, 10 November 2026
Selenium WebDriver 4 · Selenium Challenges · FlipMart