I am trying to access the "Solve the challenge" button inside the shadow-root (closed)
element as shown below:
I have tried:
driver.findElement(By.xpath("//*[@id=\"solver-button\"]")).click();
but it can't access the button because of the shadow-root
element.
I am looking for a method to access the button with id solver-button
inside the shadow root element.