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

the browser can't be closed automatically when the test end #34

Open
ww18 opened this issue Nov 9, 2015 · 3 comments
Open

the browser can't be closed automatically when the test end #34

ww18 opened this issue Nov 9, 2015 · 3 comments

Comments

@ww18
Copy link

ww18 commented Nov 9, 2015

No description provided.

@asnov
Copy link
Contributor

asnov commented Dec 11, 2015

Hi @ww18 ,
As you did not provide any description I guess you used the following code from the README.md:

this.After(function(callback) {
    this.quit(callback);
  });

If so please, add another function parameter before callback like this:

this.After(function(scenario, callback) {
    this.quit(callback);
  });

It works for me. Did it help for you?

@asnov asnov mentioned this issue Dec 11, 2015
@JasonSmiley208
Copy link

This sill won't close the browser if an error occurred. For instance, sometimes the After step times out.

@marcincharezinski
Copy link

Same problem after timeout.

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

4 participants