Hi!
I am using latest version of watir chromedriver and chrome.
I have following problem :
I try to upload file using file_field and it is not working in chrome,
element exists but not visible :
I am doing it like this :
*irb(main):006:> browser.file_field(:id=>'filesUploader').set
("C:\\test.PNG")*
This code has slept for the duration of the default timeout waiting for an
Element to be present. If the test is still passing, consider using
Element#exists? instead of rescuing U
nknownObjectException
Watir::Exception::UnknownObjectException: element located, but timed out
after 30 seconds, waiting for true condition on {:id=>"filesUploader",
:tag_name=>"input", :type=>"file"}
*irb(main):007:0> browser.file_field(:id=>'filesUploader').exist?*
*=> true*
*irb(main):008:0> browser.file_field(:id=>'filesUploader').visible?*
*=> false*
So, file_field exists on the page but it is not visible. *This works fine
in Firefox. *
What can be the problem?
Thanks,
Dmitri.
--
--
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/d/optout.