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

Way to leave browser open at end of tests? #77

Open
dmwyatt opened this issue Mar 22, 2015 · 4 comments
Open

Way to leave browser open at end of tests? #77

dmwyatt opened this issue Mar 22, 2015 · 4 comments

Comments

@dmwyatt
Copy link

dmwyatt commented Mar 22, 2015

I've got a few tests that are causing chrome to just return a 500 Internal Server Error but work fine in Firefox. It would be extremely helpful to be able to leave browser open at end of tests so I can inspect in the browser what is going wrong.

@mantoni
Copy link
Owner

mantoni commented Mar 23, 2015

Yes, I would like to support that 👍

The way I would prefer it work is a new option in the min-webdriver API, maybe closeOnFailure: true. The default should be true because most people use remote machines with Selenium Grid and would have to log into them to close any "leaking" browser sessions manually.

The new option could then be exposed in the Mochify API and as a command line option.

Would you have some free cycles to look into this?

@dmwyatt
Copy link
Author

dmwyatt commented Mar 23, 2015

Sure, I'll look at it today. I'll take any further discussion to an issue or pull request on min-webdriver

@mantoni
Copy link
Owner

mantoni commented Mar 25, 2015

Now that this is supported by min-webdriver, there could be an API enhanceent and a command line option in Mochify that sets both values to false. This would allow users to quickly run a debugging session without the need the change the configs. What do you think @dmwyatt?

@dmwyatt
Copy link
Author

dmwyatt commented Mar 29, 2015

This makes a lot of sense to me.

On Wed, Mar 25, 2015 at 2:45 AM Maximilian Antoni [email protected]
wrote:

Now that this is supported by min-webdriver, there could be an API
enhanceent and a command line option in Mochify that sets both values to
false. This would allow users to quickly run a debugging session without
the need the change the configs. What do you think @dmwyatt
https://github.com/dmwyatt?


Reply to this email directly or view it on GitHub
#77 (comment).

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

2 participants