Hi Veera I tried this only for FF, i am not sure if there is an equivalent for IE but the problem is pretty much similar to what you saw.
profile = Selenium::WebDriver::Firefox::Profile.new profile['dom.max_script_run_time'] = 60 profile['dom.max_chrome_script_run_time'] = 60 and pass profile when creating the wd instance. capabilities = Selenium::WebDriver::Remote::Capabilities.firefox() Watir::Browser.new(:firefox, *:profile => profile,* :desired_capabilities => capabilities, :http_client => http_client) Regards ragavan On Friday, May 23, 2014 8:10:39 AM UTC+1, v b baba kanchustambham wrote: > > Hi, > > We are facing a challenge with an unknown browser popup with text "Stop > running this script?" while running watir-webdriver script on IE8, Win7 > machine. > This popup is appearing after running the script for some time. > browser.alert.exist? method is not working in this case. we have declared > require 'watir-webdriver/extensions/alerts' in library file. Please find > the attached screenshot for reference. > Webdriver version we are using is 0.6.2 > > Can anyone help us on resolving this issue. > > Regards, > Veera. > > > -- -- 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.
