mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
feat: expose frame's execution contexts (#3048)
This patch exposes frame's execution contexts, making it possible to debug extension's content scripts. This is a resurrected #2812.
This commit is contained in:
3
test/assets/simple-extension/content-script.js
Normal file
3
test/assets/simple-extension/content-script.js
Normal file
@@ -0,0 +1,3 @@
|
||||
console.log('hey from the content-script');
|
||||
self.thisIsTheContentScript = true;
|
||||
|
||||
Reference in New Issue
Block a user