Elteroooo
Elteroooo

Reputation: 3081

I want selenium to click on a link

I have a link which is automaticaly generated :

<a href="LINK">Download</a>

I want selenium to click on Download whatever the LINK is.

Upvotes: 0

Views: 114

Answers (1)

Elteroooo
Elteroooo

Reputation: 3081

driver.find_element_by_link_text('Download').click()

Upvotes: 3

Related Questions