Join 500+ Software Testing professionals. Solve problem and get your problem solved. Register Now!

word around for edge driver click

Solved 1 Answers 2883 Views Selenium
0 1

We are facing below issue on microsoft edge driver.

org.openqa.selenium.WebDriverException: Element is obscured (WARNING: The server did not provide any stacktrace information)

Issue is still open:

Is there any work around for this issue?

1 Answer

Best answer

You can use JavaScript to click on an element.

// Assume driver is a valid WebDriver instance that

// has been properly instantiated elsewhere.
WebElement element = driver.findElement("gbqfd"));
JavascriptExecutor executor = (JavascriptExecutor)driver;
executor.executeScript("arguments[0].click();", element);
answered by
selected by

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.