Skip to content
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

Implement progress event in phantomas module #204

Closed
macbre opened this issue Jan 8, 2014 · 2 comments
Closed

Implement progress event in phantomas module #204

macbre opened this issue Jan 8, 2014 · 2 comments
Assignees
Milestone

Comments

@macbre
Copy link
Owner

macbre commented Jan 8, 2014

Trigger progress event (with page.loadingProgress property being passed) when running via phantomas CommonJS module

ariya/phantomjs#11091

@ghost ghost assigned macbre Jan 8, 2014
@macbre
Copy link
Owner Author

macbre commented Jan 8, 2014

ariya/phantomjs#11176 would be even better approach :)

@macbre
Copy link
Owner Author

macbre commented Feb 25, 2014

$ DEBUG=phantomas:progress phantomas --url http://google.pl --verbose 2>&1  | grep progress
18:57:10.759 Loading progress: 10%
18:57:10.759 Event progress emitted
Tue, 25 Feb 2014 18:57:10 GMT phantomas:progress 10%
18:57:11.059 Loading progress: 30%
18:57:11.059 Event progress emitted
Tue, 25 Feb 2014 18:57:11 GMT phantomas:progress 30%
18:57:11.159 Loading progress: 38%
18:57:11.159 Event progress emitted
Tue, 25 Feb 2014 18:57:11 GMT phantomas:progress 38%
18:57:11.259 Loading progress: 44%
18:57:11.259 Event progress emitted
Tue, 25 Feb 2014 18:57:11 GMT phantomas:progress 44%
18:57:11.359 Loading progress: 81%
18:57:11.359 Event progress emitted
Tue, 25 Feb 2014 18:57:11 GMT phantomas:progress 81%
18:57:11.459 Loading progress: 100%
18:57:11.459 Event progress emitted
Tue, 25 Feb 2014 18:57:11 GMT phantomas:progress 100%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant