Hi,
I'm just starting to use Waitir and have the following issue: The Waitir script is supposed to execute a search on a KendoUI Grid element which in turn displays a modal spinner when performing an ajax call to retrieve the search results. (script below). Waitir throws an UnhandledAlertError because a modal dialog is present (below). I've seen Waitir code to handle javascript pop ups but I haven't found a solution how to handle a modal pop-up without any buttons like a spinner. Any ideas? Thanks! *Error*: nsCommandProcessor.prototype.execute': Modal dialog present (Selenium::WebDriver::Error::UnhandledAlertError) *Script:* require 'watir' require 'watir-webdriver' browser = Watir::Browser.start "http://localhost:8080/admin/index.php/login" browser.link(:text, "Manage Members").wait_until_present browser.link(:text, "Manage Members").click browser.text_field(:id, "subscriber_id").set("11111") browser.button(:value,"Search").click -- -- 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.
