This website requires JavaScript.
Explore
Help
Sign In
thunderstrike
/
puppeteer
Watch
2
Star
0
Fork
0
You've already forked puppeteer
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
7888a37a3d
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