Skip to content
This repository has been archived by the owner on Mar 21, 2021. It is now read-only.

Chrome window is blank but all tests seem to be working... #43

Closed
MikeGitIt opened this issue Jul 28, 2017 · 4 comments
Closed

Chrome window is blank but all tests seem to be working... #43

MikeGitIt opened this issue Jul 28, 2017 · 4 comments

Comments

@MikeGitIt
Copy link

I am not sure why my chrome instance is coming up with a blank window when I run navalia code, but it is. I am simply running the examples provided in this article:
https://codeburst.io/capturing-unused-application-code-2b7594a9fe06

As well, I am also running some code based on the code in that article. Nothing on the screen but tests are passing. Is there anyone else who has seen this problem and can possibly share what they've done to fix it? Thanks in advance!

@joelgriffith
Copy link
Owner

Probably dumb question: are you trying to run with a window? By default the Chrome helper runs headless, so there's no window. If it's reporting stats then thing are working, but might need some more info to debug further (Chrome version and so on)

@MikeGitIt
Copy link
Author

No, actually, it's not a dumb question at all. I was running headless so I added it to my flag parameters as false and, BADABING, BADABANG! Thanks for that nudge in the right direction, wiseguy!

@MikeGitIt
Copy link
Author

MikeGitIt commented Jul 28, 2017

But (there's always a but) it's responding really slow to the methods in my script. Does that timeout flag affect the global timeout settings?

NINJA EDIT: By the way, you can close this issue, as far as I am concerned.

@joelgriffith
Copy link
Owner

Nice! So there's a timeout param on a per-API basis, but a global one as well that you can default with (precedence is given to the API's timeouts vs the global). I'm curios to hear if there's a particular method that is slower than others? Let me know!

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

No branches or pull requests

2 participants