This website requires JavaScript.
Explore
Help
Sign In
github
/
puppeteer
Watch
0
Star
0
Fork
0
You've already forked puppeteer
mirror of
https://github.com/puppeteer/puppeteer
synced
2024-06-14 14:02:48 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
1f9b4fb4c8
puppeteer
/
test
/
assets
/
injectedfile.js
2 lines
51 B
JavaScript
Raw
Normal View
History
Unescape
Escape
fix page.injectFile and add test. (#52) This line within `injectFile` wasn't doing much of anything: ```js let expression = fs.readFile(filePath, 'utf8', (err, data) => callback({err, data})); ``` * That's fixed. * A path error in examples/features.js is fixed. * Test added for injectFile.
2017-07-06 23:09:23 +00:00
_
_injected
=
42
;
Inject file with sourceURL (#102) This patch starts adding a sourceURL trailing comment to make stack traces readable.
2017-07-23 16:56:35 +00:00
_
_injectedError
=
new
Error
(
'hi'
)
;
Reference in New Issue
Copy Permalink