Alex Rudenko
9cd734b0a3
refactor: clean up more of the context interface ( #2335 )
...
- removed redundant page getters
2026-07-09 13:50:48 +00:00
Nikolay Vitkov
fecef2698d
test: reduce type casting in tests ( #2251 )
2026-06-24 09:45:16 +00:00
Nicholas Roscino
29e389848f
feat: implement extension service worker logs ( #1915 )
...
This PR introduces the possiblity to collect console messages from
service workers.
2026-06-08 12:30:37 +00:00
Nicholas Roscino
3ff21cf30d
feat: support Chrome extensions debugging ( #1922 )
...
Adds ability to install, uninstall and reload extensions, trigger
extension actions and inspect extension pages, service workers and
content scripts. Specify `--categoryExtensions` to enable.
Closes https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/1173
Closes https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/96
---------
Co-authored-by: Mathias Bynens <mathias@qiwi.be >
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com >
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org >
2026-04-21 14:03:15 +00:00
Nicholas Roscino
86ffd58c2f
test: add test for console log from content script ( #1920 )
...
This PR adds a test to prove extension content script can be captured in
logs for pages
2026-04-21 10:35:39 +00:00
Nicholas Roscino
ec895f195a
refactor: use puppeteer Extension API ( #1911 )
...
This PR refactor the extension usages using the new Puppeteer API.
Requires puppeteer release before merging
2026-04-20 14:38:48 +00:00
Alex Rudenko
c2d8009ff7
refactor: move main files ( #1120 )
...
- `chrome-devtools-mcp.js` is the `npx chrome-devtools-mcp`
- `chrome-devtools.js` is the new CLI
- `-cli-options.js` is the corresponding options
- all these files are in the bin folder to indicate they are executable
2026-03-05 21:51:37 +00:00
Nicholas Roscino
8dbf862549
test: installing chrome through test script ( #1085 )
...
Fixes local test failing for triggerAction on extensions.
2026-03-03 16:06:18 +00:00
Nicholas Roscino
e5973fd021
chore: implement trigger extension action ( #1049 )
...
This PR implements the ability to trigger an extension action by passing
it an extension id.
It uses puppeteer internals and the canary chrome version in tests since
the TriggerAction CDP command is still not available in the current
stable release.
2026-03-02 16:21:58 +00:00
Nicholas Roscino
505089c288
chore: evaluate script on service workers ( #1052 )
...
This PR introduce script evaluation on service workers behind the flag
--category-extension.
2026-02-27 13:29:17 +00:00
Alex Rudenko
40c241bbfc
refactor: move dialog handling to McpPage ( #1059 )
...
- renamed getSelectedPage to getSelectedPptrPage
- removes getSelectedPptrPage from tool interfaces
- moves dialog handling to McpPage
- makes responses to be optionally McpPage-scoped
2026-02-27 11:49:43 +01:00
Alex Rudenko
c9691c6250
test: fix missing sinon.restore ( #989 )
2026-02-18 15:39:30 +00:00
Natasha Gorshunova
569894d486
chore: Implement reload_extension tool ( #847 )
...
Co-authored-by: Natallia Harshunova <nharshunova@chromium.org >
2026-01-27 11:13:03 +00:00
Natasha Gorshunova
4ad781fee6
chore: implement list_extensions tool for local unpacked extensions ( #819 )
...
Co-authored-by: Natallia Harshunova <nharshunova@chromium.org >
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com >
2026-01-26 10:37:13 +00:00
Natasha Gorshunova
24d15a9375
chore: Implement uninstall_extension tool ( #796 )
...
Co-authored-by: Natallia Harshunova <nharshunova@chromium.org >
2026-01-20 07:01:10 +00:00
Natasha Gorshunova
1e0ee69d3a
chore: Implement install_extension command ( #764 )
...
Co-authored-by: Natallia Harshunova <nharshunova@chromium.org >
2026-01-19 07:57:25 +00:00