selenium - Python Webdriver need code to find and click a particular element -


this similar question 1 answered me earlier. have used python 2.7, webdriver , chrome access pinterest insert images board. have logged in site , created board. problem have identify , click “edit board” button using xpath find elements code. attach image of web page (see red arrow) , chrome inspect on element. code have tried is:

driver.find_element_by_xpath('//span[contains(text(),"edit board")]') 

the result enabled , displayed, however, click on element gives following exception:

webdriverexception: message: unknown error: element not clickable @ point (131, 91). other element receive click: <button class="button module showmodalbutton boardeditbutton btn hasicon rounded" type="button">...</button>

i cannot see other find element option make button unique.

i have used span text find on website in 1 other place. not work buttons of type, but, in cases unique tag qualifier works.

web page:

web page

inspect element:

inspect element


Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -