Answer the question
In order to leave comments, you need to log in
How to get the necessary links using Selenium?
How to choose links of the following type:
<a href="/foo/bar" target="_blank" rel="noopener" title="foo bar"
itemprop="url" data-marker="item-title"
class="link-link-MbQDP link-design-default-_nSbv title-root-j7cja iva-item-title-_qCwt title-listRedesign-XHq38 title-root_maxHeight-SXHes">
<h3 itemprop="name"
class="title-root-j7cja iva-item-title-_qCwt title-listRedesign-XHq38 title-root_maxHeight-SXHes text-text-LurtD text-size-s-BxGpL text-bold-SinUO">Foo Bar/h3>
</a>
driver.find_element_by_partial_link_text('/foo/bar')
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question