Selenium 报错:Element is not clickable at point

WebDriverException: unknown error: Element <td class="grid - select - input " stype=" ">...</td> is not clickable ai point(29,105).Other element would receive the click:<div class="el-loading-bg" stype=" "></div>

 

Error means: can not click this element, the other a div element receives the click

 

Solution:

Because concealed div is possible to do some operations later, will disappear, such as the page is still loading, this time click on the element, then click directly on the loading of labels, so before this operation can add a wait, let's cover up after div disappear, wait for the menu to the left to clickable state; or refresh operation, the div to disappear, wait for the menu to the left to clickable

Guess you like

Origin www.cnblogs.com/liruxian/p/11081416.html