Describe the bug:
The node.shadowRootUnl handle is no longer being exposed. The patch seems unchanged, however the https://camoufox.com/tests/shadowdom noted here #200 (comment) now gives an error:
playwright._impl._errors.Error: Page.evaluate: can't access property "querySelector", document.querySelector(...).shadowRootUnl is undefined
Tested on v135.0.1-beta.24 and the checkbox was checked.
Screenshots:
N/A
To Reproduce:
from camoufox import Camoufox
with Camoufox(headless=False, config={'forceScopeAccess': True}) as browser:
page = browser.new_page()
page.goto('https://camoufox.com/tests/shadowdom')
page.wait_for_timeout(2000)
page.evaluate('document.querySelector("#shadow-host").shadowRootUnl.querySelector("input").click()')
# Keep the page open to see checkbox action result.
while True:
pass
Version:
Python Packages
Camoufox v0.4.11
Browserforge v1.2.4
Apify Fingerprints v0.13.0
Playwright v1.60.0
Browser
Active official/stable
Current browser v150.0.2-alpha.25
Describe the bug:
The
node.shadowRootUnlhandle is no longer being exposed. The patch seems unchanged, however the https://camoufox.com/tests/shadowdom noted here #200 (comment) now gives an error:Tested on v135.0.1-beta.24 and the checkbox was checked.
Screenshots:
N/A
To Reproduce:
Version: