Having trouble clicking on Radio Buttons after the popup loads
*Note: I have brought up this issue previously, but I am looking for an alternative to using Thread.sleep
Link:
Successful Scenario:
1. When directly accessing a hut using this URL, I can click on the 'Order for later' radio button successfully.
Unsuccessful Scenario:
1. Navigating to the Pizza Hut URL:
2. Clicking Pizza Button
3. Choosing any 'Pizza Type' and clicking 'Start your Order' button
4. On the localisation page, entering postcode 'AL1 2PS' and clicking find a hut
5. My script fails to click on the 'Order for Later' radio button
6. Despite trying various types of waits such as custom and JavaScript waits, I am only successful with Thread.sleep(
) which I want to avoid.
If anyone has advice or a solution to offer, it would be greatly appreciated.
Thank you for your assistance.