1

A quick question. How do I click on the following button link using selenium in python?

<div class="load_more">
<a class="button button_grey" href="#">Load more</a> 
</div>
0

2 Answers 2

3

You can use several approaches. One I would suggest is by css selector:

browser.find_element_by_css_selector("div.load_more>a").click()
Sign up to request clarification or add additional context in comments.

Comments

2

I also discovered that the following works:

browser.find_element_by_link_text("Load more").click()

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.