Task: Search for hotels on Agoda and extract the top 5 options with real prices.
Search parameters:
- Destination: {city}
- Check-in: {checkin}
- Check-out: {checkout}
- Guests: {guests} adults
- Rooms: {rooms}
Steps:
- Navigate to https://www.agoda.com/
- Find the destination search field (combobox labeled "Enter a destination or property"). Click it, clear any existing text, then type "{city}" character by character. Wait 2-3 seconds for the autocomplete dropdown to appear.
- From the dropdown, select the option that best matches "{city}" (e.g., "{city}, Japan City Popular"). The options appear as
option elements in the dropdown.
- After selecting the destination, the calendar picker opens automatically. It shows date buttons labeled like "Fri May 01 2026". The current check-in and check-out dates are shown in two separate buttons at the top (e.g., "Check-in 16 Apr 2026 Thursday" and "Check-out 17 Apr 2026 Friday").
- Find and click the button for {checkin}. The check-in is now set. The calendar automatically shifts to check-out selection.