[wtr-general] Re: Unable to acces text_field inside a frame coz of some "#document" tag in the HTML.

2013-01-28 Thread Deepak Kumar
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 > > > - > > >* #

[wtr-general] watir-classic user agent

2013-01-28 Thread Dan
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

[wtr-general] Re: watir-classic user agent

2013-01-28 Thread Justin Ko
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