puppeteer/test/assets/simple-extension/content-script.js
Andrey Lushnikov 231a2be971
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.
2018-08-09 14:57:08 -07:00

4 lines
81 B
JavaScript

console.log('hey from the content-script');
self.thisIsTheContentScript = true;