[wtr-general] Clicking OK in a Save As dialog

2015-01-05 Thread Dan Sharp
Hi! I'm new to Watir... working on a script to automate some browser screen scraping. One page in particular has this problem that I'm stuck on: the page has a link that is a javascript link, and the result of the javascript is that it generates/sends a PDF to be downloaded/saved. So when I

[wtr-general] Re: Fill up values in popup with nested frames is slow in IE

2015-01-05 Thread niartseoj
what happens when you remove sleep 2? On Thursday, December 25, 2014 11:51:42 AM UTC-5, Andrew Petrenko wrote: Hello. I have popups with frames (not iframes). And when I set values into textboxes, selectlists and others it takes about 5 seconds for every control. I wonder, is this a

[wtr-general] Re: Clicking OK in a Save As dialog

2015-01-05 Thread niartseoj
see if browse..send_keys({ENTER}) works for you... On Saturday, January 3, 2015 10:19:20 PM UTC-5, Dan Sharp wrote: Hi! I'm new to Watir... working on a script to automate some browser screen scraping. One page in particular has this problem that I'm stuck on: the page has a link that

Re: [wtr-general] Clicking OK in a Save As dialog

2015-01-05 Thread Titus Fortner
The problem with save as dialogs is that they are a part of the operating system, not the browser. What you can do is set the browser profile to not check with the os when downloading. Using profiles with watir - http://watirwebdriver.com/firefox/ http://watirwebdriver.com/chrome/ Titus On Jan

Re: [wtr-general] Re: Fill up values in popup with nested frames is slow in IE

2015-01-05 Thread Titus Fortner
My first question here is to always verify you are using watir-webdriver because I can't help with watir-classic. It looks like you are using several helper methods? What is the performance of: @browser.window(title: 'Add New Plan') do @browser.frame(name: 'fraContainer').text_field(id: