Unable to click on Radio Buttons, once the popup has loaded
*Please note i have raised a question in the past but i want to avoid using Thread.sleep
Link:
Scenario (Successful)
1. If i access any hut directly via the following URL:
2. Iam successfully able to click on the link which is selecting the radio button 'Order for later'
Scenario (Not Successful)
1. If i access the Pizza Hut URL:
2. Click Pizza Button
3. Click any 'Pizza Type' Start your Order button
4. When the localisation page appears > type postcode 'AL1 2PS' > click find a hut
5. My Script is unable to click on the 'Order for Later' radio button
6. But in the Successful scenario iam able to click on the link?
7. I have tried many waits and custom waits, js waits but the only time Iam successfully able to click on the link is using Thread.sleep(
)
Please could anybody advice on a solution to the problem?
Many thanks for you help