Selenium WebDriver 4

Filter results by brand and sort by price

Medium50 pts~2 min
  • Checkboxes
  • Dropdowns
  • Sorting
  • Dynamic lists
Practice app · ShopZone

A full marketplace: two-step sign-in, search with filters and sorting, product pages with tabs, a cart with coupons, and checkout.

Test URL
/lab/selenium-shopzone-filter-and-sort

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

Objective

Search for laptops, keep only the Novabook brand, sort from low to high price, and verify the cheapest Novabook is listed first.

Your task

  1. 1Open TEST_URL and search for “laptop”.
  2. 2Tick the Novabook brand filter (#brand-novabook).
  3. 3Choose “Price: Low to High” in #sort-select (value price-asc).
  4. 4Assert that 3 cards remain and the first card is the Novabook Air 13 Laptop at $549.00.

Acceptance criteria

  • Only the 3 Novabook laptops are shown.
  • Results are sorted by ascending price.
  • The first result is the Novabook Air 13 Laptop.

Fixtures

Email
buyer@shopzone.test
Password
Shop@123
Account name
Asha Verma
Coupon
SAVE10 (10% off the subtotal)
Pincodes
560001 Bengaluru · 110001 New Delhi · 400001 Mumbai · 600001 Chennai

Selenium WebDriver 4 · Selenium Challenges · ShopZone