it might be being rendered by some client side javascript, and FF or Chrome 
might be just enough faster than IE that they have created the element when 
the script gets to that point, but IE has not. 

I'd suggest two things

1 try running those few lines of your script manually (you can cut and 
paste) one at a time in IRB.  If it works then you can be pretty sure it's 
a timing issue, if it does not, have another look at the HTML, but be sure 
you do it in IE or using the IE developer tools.  (sometimes sites can send 
different html depending on what browser requested it)

2) presuming that IRB worked, try decorating that line with .when_present

  browser.text_field(:name, "usr").when_present.set("my_login")


On Wednesday, March 13, 2013 10:22:06 AM UTC-7, Željko Filipin wrote:
>
> On Wed, Mar 13, 2013 at 6:21 PM, Anthony Coley 
> <[email protected]<javascript:>
> > wrote:
>
>> Yes, I have the element, see attached element.jpg.
>
>
> It could be there eventually, but not when the script looks for it.
>
> Željko
>

-- 
-- 
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]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to