Join the Stack Overflow Community
Stack Overflow is a community of 6.5 million programmers, just like you, helping each other.
Join them; it only takes a minute:
Sign up

This is the element I want to click on using python selenium

<a href="javascript:linksubmit()">

The text of the link is

"Check Status of Application Materials"

I've been stuck on this for hours. Tried the following, none worked

mydriver.find_element_by_xpath("//a[@href='javascript:linksubmit()']").click()

link = mydriver.find_element_by_partial_link_text('Check Status').click()

link = mydriver.find_element_by_css_selector("a[title='Check Status of Application Materials']").click()
share|improve this question
    
This seems to be an AJAX call. What did you expect and what did you get? The code is okay, it must work. – Erdin Eray Mar 16 at 20:17
    
We can't recreate this without some actual HTML. Is this publicly available? – Andrew Regan Mar 16 at 23:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.