how about browser.html.include("We are processing your request")
On 16 Jun., 00:45, George <george.sand...@gmail.com> wrote: > I tried search the forum but couldn't come up with a situation similar > to mine. > > I'm filling out a form, which takes me to a 'Review your order' page. > When I click the Submit button, I see a transitional "We are > processing your request" page. From there, I'm taken to the "Thank > you for your order" page. > > I've tried: > > ================================================= > browser.button(:id, "bttnSubmit").click # I also tried click_no_wait > browser = Watir::IE.attach(:title, /Processing/) > > if browser.text.include?("We are processing your request") > puts "Text is there" > else > puts "Text is not there" > end > ================================================= > > It seems that it won't process anything after I click Submit until I'm > taken to the "Thank you" page. Does anyone know how I capture from the > processing page? > > Thanks, > > George --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---