Is there a way to retrieve the "Solve the challenge" button from within the shadow-root (closed)
element? Here is what I've attempted so far:
driver.findElement(By.xpath("//[@id=\"solver-button\"]")).click();
Unfortunately, the button cannot be accessed due to the presence of the shadow-root
element. I need a solution to access the button with the id solver-button
within the shadow root element.