2


I am trying to get my automated test scripts switched over to the watir-webdriver.
Unfortunately I have been unable to completely do so, what I am looking for is a way to drive my web browser and still include add-ons and such. Right now it runs using non of the above.

Does anyone have or know where I can find good documentation on Watir-Webdriver?

Ripon Al Wasim
  • 36,924
  • 42
  • 155
  • 176
Curtis Miller
  • 580
  • 1
  • 9
  • 31
  • What parts are you having problems with? – Alastair Montgomery Jul 16 '11 at 21:12
  • For some reason when I startup my script it pulls a web browser for firefox(the main browser I test) and it does not have any of my add ons attached to the browser. If I fire up firefox normally everything works fine. Am I doing something wrong? – Curtis Miller Jul 16 '11 at 21:38
  • By default it starts up with a clean profile in Firefox. Search on here and there should be questions and answers about including your addons or choosing a different profile. – Alastair Montgomery Jul 16 '11 at 21:46
  • Here's the question about changing your profile settings http://stackoverflow.com/questions/6065092/how-do-i-get-watir-webdriver-to-start-firefox-4-with-firebug – Alastair Montgomery Jul 17 '11 at 10:00

3 Answers3

4

You could have a look at the API: http://www.rubydoc.info/gems/watir

Also there are a couple of Google groups for Watir and Watir-webdriver that I have found useful.

Nick Veys
  • 23,458
  • 4
  • 47
  • 64
Alastair Montgomery
  • 1,756
  • 5
  • 21
  • 44
3

There is a new site just launched: http://watirwebdriver.com

Alister Scott
  • 3,675
  • 24
  • 41
1

Yep, watirmelon.com is also a great site by Alister Scott. When searching for specific Watir questions in Google, the most useful links are often at watirmelon.com, even for things specific to watir-webdriver.

Also, there's some great documentation at http://wiki.openqa.org/display/WTR/Project+Home and you can find Zeljko's Filipin's Watir book in progress there. For the most part, what works for Watir will work for watir-webdriver, so you can also use the YARD documentation of the Watir API at http://wtr.rubyforge.org/rdoc/1.6.5/ Good luck.

emery
  • 8,603
  • 10
  • 44
  • 51