-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
run-browser: Replaced PhantomJS with Puppeteer #1
Conversation
Signed-off-by: ossdev07 <[email protected]>
if (phantom) { | ||
files.unshift(path.join(__dirname, '/lib/phantom-function-bind-shim.js')); | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh wow, that's great :)
@@ -69,10 +67,6 @@ function createHandler(filename, reports, phantom, mockserverHandler) { | |||
files = files.map(normalizePath); | |||
files.unshift(path.join(__dirname, '/lib/override-log.js')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there might be a better way to get logs from puppeteer than this, but it's ok to leave it as is for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me.
Thanks, @naugtur for reviewing the patch, if it looks good to you when can I expect this PR to be merged? |
@naugtur if the patch looks good to you can you please merge this pull request. |
Sorry, busy week with family. |
Thanks for merging this @naugtur, I have raised another pull request to resolve the failing test cases with puppeteer in xhr, Please have a look: naugtur/xhr#184 |
@naugtur it will be really helpful if you could make a release with the changes in this PR. |
PhantomJS is an unmaintained project, replaced phantomjs dependency with the puppeteer.
Closes naugtur/xhr#180