Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

PSA: Changes to Extension introspection in ChromeDriver 136

173 views
Skip to first unread message

Alex N. Jose

unread,
Apr 22, 2025, 1:29:09 PMApr 22
to chromedri...@googlegroups.com, chromium-...@chromium.org, Mathias Bynens, Oliver Dunk

Hi all,


Starting in ChromeDriver 136, introspecting Chrome Extension targets (chrome-extension:// URLs and MV2 background_pages) will require enabling the enableExtensionTargets capability.


This change was introduced to provide better separation between regular web application testing and Chrome Extension testing, and would help mitigate regressions occurring due to extension targets being exposed as part of regular target introspection (including Chrome internal features using extension targets).


As an example of how to use this new capability that’s exposed as a ChromeOption, I’ve put together a Selenium-Node example and the ChromeDriver integration suite has more Python examples.


-- 

Thanks,

Alex



Reply all
Reply to author
Forward
0 new messages