Skip to content

Conversation

@twalpole
Copy link
Member

@twalpole twalpole commented Apr 4, 2016

Make sure #reset for the selenium driver is synchronous and handles modals that may appear.

jnicklas and others added 3 commits April 1, 2016 11:40
I think that this was a futile attempt to resolve problems with restting sessions which should be much better handled by the addition of `wait_for_pending_requests`.

Closes teamcapybara#1670
@twalpole twalpole force-pushed the selenium_driver_reset_synchronous branch from c7caa6f to 8054029 Compare April 4, 2016 20:33
@twalpole twalpole force-pushed the selenium_driver_reset_synchronous branch from 8054029 to 1e4529b Compare April 4, 2016 20:56
@twalpole twalpole merged commit 2d9c1f2 into teamcapybara:master Apr 4, 2016
@jnicklas
Copy link
Collaborator

jnicklas commented Apr 4, 2016

This is amazing! Thank you so much for putting so much effort into this.

@twalpole
Copy link
Member Author

twalpole commented Apr 4, 2016

@jnicklas you're welcome -- I tried it with capybara-webkit and poltergeist and the removal of the assert_no_selector in Session#reset! didn't appear to affect them, so hopefully it doesn't --- I'm sure we'll hear if it does :)

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

Successfully merging this pull request may close these issues.

2 participants