I am trying to click on an edit tab link, and its in the form of a hyperlink in an unordered list.
Here is the HTML:
<li><a href="/node/2658/edit" data-drupal-link-system-path="node/2658/edit">Edit</a></li>
I have been trying to use driver.find_element_by_link_text('Edit')
to find the element, however always get a NoSuchElementException
.
I have also used the by partial text fxn, with all variations of the html, and receive the same error.
There is also the following html I found that includes the proper link:
<link rel="edit-form" href="/node/2658/edit" />
Is there a selenium function I can use to go to this edit page?