diff options
Diffstat (limited to 'remote/test/puppeteer/test/assets/initiator.js')
-rw-r--r-- | remote/test/puppeteer/test/assets/initiator.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/remote/test/puppeteer/test/assets/initiator.js b/remote/test/puppeteer/test/assets/initiator.js new file mode 100644 index 0000000000..642e775f31 --- /dev/null +++ b/remote/test/puppeteer/test/assets/initiator.js @@ -0,0 +1,8 @@ +const script = document.createElement('script'); +script.src = './injectedfile.js'; +document.body.appendChild(script); + +const style = document.createElement('link'); +style.rel = 'stylesheet'; +style.href = './injectedstyle.css'; +document.head.appendChild(style); |