Vapir 1.8.0 is released!
Major improvemets include:
- Better detection and handling of elements which have ceased to
exist due to javascript changing things about. Better recovery from this
when it should not be an error condition.
- You should no
longer get "Firefox is already running, please close ..." error on any
operating system - Firefox should now wait for the browser to exit in
all cases.
- Much more manageable dependencies. No dependency on ActiveSupport! no more user-choices and its excessive dependencies
Smaller improvements
- Table#to_hashes
-
:label locator - browser.text_field(:label, 'Username') finds the text
field corresponding to a <label>Username</label>
- Vapir::Firefox#post_to(url, post_data_hash) - post data to an arbitrary url without bothering with form interaction.
- Container#visible_text, returns the visible text on a container.
- Better handling of keycodes when typing to text fields.
- Vapir::Firefox#screen_capture is fast and doesn't leak memory.
And many minor bug fixes, and much, much internal code improvement.
Update your gems, give it a try, let me know what I've broken.
-Ethan