Skip to content
This repository has been archived by the owner on Nov 27, 2020. It is now read-only.

implement driver#window_size and driver#resize_window_to from capybara #669

Merged
merged 1 commit into from Oct 1, 2015

Conversation

twalpole
Copy link
Contributor

@twalpole twalpole commented Oct 1, 2015

This implements 2 missing methods from driver -- I think the only missing capybara driver method for windows now is maximize_window, which doesn't really make sense in poltergeist

twalpole added a commit that referenced this pull request Oct 1, 2015
implement driver#window_size and driver#resize_window_to from capybara
@twalpole twalpole merged commit 43106b8 into teampoltergeist:master Oct 1, 2015
@route
Copy link
Contributor

route commented Oct 2, 2015

Just in case: I remember some problems with window resizing... not sure and usually we add an entry to CHANGELOG. Thanks for your great work!

@twalpole
Copy link
Contributor Author

twalpole commented Oct 2, 2015

Ok, I had added a test for resizing (it fails capybaras because they rely on window.outerWidth/Height which phantomjs doesn't provide) so it does appear to work. If you remember any more details on the problems let me know. I'll add to the change log later today

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

Successfully merging this pull request may close these issues.

None yet

2 participants