watir-webdriver 0.5.2 has been released.
Please note that watir-webdriver 0.5.0 brings some backwards incompatible changes:
Watir::Select#selected_optionsno longer returns array of strings, but array ofWatir::Optionobjects- Finding elements by
:classnow matches partial class attributes.
Additionally, watir-webdriver 0.5.1 removes the following deprecated methods:
element_by_xpathreplaced by.element(:xpath, '...')elements_by_xpathreplaced by.elements(:xpath, '...')
And deprecates the following methods:
Install it with
gem install watir-webdriver
As usual:
- see build history at travis-ci.org/#!/watir/watir-webdriver/builds (wait for a few seconds until older builds appear)
- see all the changes at github.com/watir/watir-webdriver/commits/master/
- updated API documentation is at rubydoc.info/gems/watir-webdriver

I take it that means I have to replace .selected_options[0] with .selected_options.map(&:text)[0] like it is with .options ?
Will: Yes, or just selected_options.first.text.
Ah does that do the same? That’s a much more readable version, thank you!
Hi , Is Watir Web Driver 0.5.2 the latest Version??? or is there any latest one?
This page lists all versions of watir-webdriver gem: https://rubygems.org/gems/watir-webdriver
Thank you Zeljko…. :)