Hi!
After hours and hours of searching in this mailing list and trying
everything suggested there, I've finally decided to post a question. How
can I get a simple OK to be clicked in a Javascript dialog box?
Code:
require 'rubygems'
require "watir-webdriver"
require "watir-webdriver/extensions/alerts"
browser.tr(:title => "Add a new request").fire_event("onclick")
So far, so good. Then, this window pops up:
<https://lh5.googleusercontent.com/-QGU8PUs-TlA/USej3c1IkhI/AAAAAAAAB5M/dmx2l0KDvDo/s1600/Capture.JPG>
And it doesn't seem to react to anything I do. I've also tried sending a
special keys, which works when there is no pop up. (I've tried sedning F11
and it expands the browser fine)
It's like if the pop up doesn't react or the browser is set to focus on the
main page...
Ideas?
Fabian
--
--
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.