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

Don't close browser window #17

Open
tinganho opened this issue Feb 9, 2018 · 2 comments
Open

Don't close browser window #17

tinganho opened this issue Feb 9, 2018 · 2 comments

Comments

@tinganho
Copy link

tinganho commented Feb 9, 2018

Is it possible to have a flag that doesn't close the browser window? My use case is, if some tests fails, I can instantly see what's wrong in the browser.

@dima117
Copy link
Contributor

dima117 commented Feb 9, 2018

Hi,

if I understand you correctly, then you do not need to run mocha-headless-chrome for debugging in the browser. Just open your test page in the browser manually. Does this solve your problem?

@tinganho
Copy link
Author

tinganho commented Feb 9, 2018

I open a node.js server before running the tests and they are in the same command. If I want to run the tests with the browser opened (as you suggest) I have to have two different commands one for just opening that node.js server and one for opening the node.js server and running the tests. I think it would be easier if there was an option for not closing down the browser.

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

No branches or pull requests

2 participants