I have this script that I wrote with selenium python, but sometimes I got this problem at this one place, when it shows that is not clickable. Element is there and it can be found but it can not be clickable, because sometimes I need to meet required conditions. See error bellow.
selenium.common.exceptions.ElementClickInterceptedException: Message: Element <div class=" css-1wa3eu0-placeholder"> is not clickable at point (242,476) because another element <div class="dropDownWrapper_artworkDetails_uaWNT"> obscures it
But when this happens I got error and script is stopped. So I need to start it again. Is it possible to do something like this (i did not found the way)...
if not clickable...at driver('selected class')
driver.refresh()
else
pass
This is my thinking, I was unable to find the way but maybe there is a special name or something. If you have any idea, any help is more then welcome.
Thanks in advance!