Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 97895

Unable to locate element: python + selennium

$
0
0

I am trying to click on the drop-down shown in the figure

enter image description here

This is what I have tried

select = browser.find_element_by_xpath("//div[@class='chosen-container chosen-container-single']//a[@class='chosen-single chosen-single-with-deselect chosen-default']//input[@class='chosen-search-input']")
select.click()

But it give me this error

NoSuchElementException: Message: Unable to locate element: //div[@class='chosen-container chosen-container-single']//a[@class='chosen-single chosen-single-with-deselect chosen-default']//input[@class='chosen-search-input']

I tried the solution given by Sameer but now it gives me this error

ElementClickInterceptedException: Message: Element is not clickable at point (228,398) because another element obscures it


Viewing all articles
Browse latest Browse all 97895

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>