Hi,
I am using IE developer and also tried developer tool of chrome also :(
On Wednesday, January 23, 2013 8:08:33 PM UTC+5:30, Deepak Kumar wrote:
>
> Hi everyone,
> I am trying to access a text_field of page.HTML format is as follows
>
>
> -
>
>
>* #
Is there a good way to get the user agent using the watir-classic gem?
With webdriver I use something like b.execute_script("return
navigator.userAgent"), but that's not going to work with watir-classic.
--
--
Before posting, please read http://watir.com/support. In short: search before
you
That same code will work in watir-classic.
The execute_script method exists in watir-classic and navigator.userAgent
is supported in all major browsers
(http://www.w3schools.com/jsref/prop_nav_useragent.asp).
- Justin Ko
On Monday, January 28, 2013 11:49:16 AM UTC-5, Dan wrote:
>
> Is there a