playwright-captcha icon indicating copy to clipboard operation
playwright-captcha copied to clipboard

CamouFox has built in shadowroot monkeypatch

Open MooseJammer42 opened this issue 1 year ago • 1 comments

Just thought I would let you know CamouFox already patches shadowroot to expose shadowRootUnl when using forceScopeAccess

https://github.com/daijro/camoufox/commit/cf269d6b6017d76e82c366ff0d787df139c256df

So everything works without doing the addon. I tested it with only these options. async with AsyncCamoufox( config={'forceScopeAccess': True} ) as browser:

Just thought I would let you know. I learned a lot from reading your code.

MooseJammer42 avatar Nov 04 '25 16:11 MooseJammer42

Hey, thanks for the information! I believe I added it just for consistency so the code looks prettier, but now I think it would make sense to remove that part.

techinz avatar Jan 28 '26 22:01 techinz