I am facing the problem for below tag in selenium
HTML Code is :
<a data-v-4sa1sads href='#' class='second'>Register</a>
I tried using LinkText, PartialLinkText, CSS selector, Xpath but it is always showing an error that element click is intercepted.
How to handle this.
To click on the element you have to induce WebDriverWait for the
element_to_be_clickable()and you can use either of the following Locator Strategies:Using java and
linkText:Using java and
XPATH:Using python and
LINK_TEXT:Using python and
CSS_SELECTOR:Note : For python clients you have to add the following imports :
References
You can find a couple of relevant detailed discussions on ElementClickInterceptedException in: