shadowbutton=driver.execute_script(
"return document.querySelector('div[class="button-holder help-button-holder"]').shadowRoot.querySelector('button[id="solver-button"]')")
shadowbutton.click()
shadowRoot is not part of dom so you have to first find the root element that has the shadow root and then call it using 'shadowRoot' and then call the target element from it
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…