Join 500+ Software Testing professionals. Solve problem and get your problem solved. Register Now!

1
How may I click on the load more button repeatedly until the very last item in the page has been loaded?

Open 1 Answers 85 Views Selenium
1 1
How may I click on the load more button repeatedly until the very last item in the page has been loaded?

1 Answer

0
0
Identify the element.
Create a do while loop.
Inside the loop, write the code to click and then wait for the load more button.
Your exit condition should be load more button is not visible.

Hope that helps
answered by (151 points)

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
...