Open beunas opened 3 years ago
Yes ma’am , While doing that prompt example an exception named ElementClickInterceptedException Occured because of a google ad overlapping and it was not allowing the button click .Inorder to solve that issue google suggested this one Java script executer.
Why there is java script executer used ?
//JavascriptExecutor js = (JavascriptExecutor)driver; //js.executeScript("arguments[0].click()", promptButton);