Actually b.execute_script("return navigator.userAgent") is probably a
better option, but is there another?
Thanks!
Dan
On Thursday, March 1, 2012 11:33:38 AM UTC-5, Dan wrote:
>
> Is there a built in way in watir-webdriver or ruby to get the version
> number of the browser that's running on the host machine? I can probably
> scrape that off of chrome://version/ and about:support in Firefox, but
> I'm wondering if someone knows of a better way.
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
[email protected]
http://groups.google.com/group/watir-general
[email protected]