Vapir 1.8.0

2 views
Skip to first unread message

Ethan

unread,
Apr 19, 2011, 8:09:09 PM4/19/11
to va...@googlegroups.com
Vapir 1.8.0 is released! 

Major improvemets include:

- Awesome new configuration framework, documented here: https://github.com/vapir/vapir/wiki/Config
- Collection methods (#divs or #text_fields or #elements) take how/what arguments, same as their singular counterparts. See https://github.com/vapir/vapir/wiki/Locators
- 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

Reply all
Reply to author
Forward
0 new messages