0

I ususally attach the IE window with the below code like

b=Watir::IE.attach(:index,0)

Could anyone please suggest me how to attach the Chrome and Firefox browser like I shown above

TessellatingHeckler
  • 27,511
  • 4
  • 48
  • 87
RAJ
  • 898
  • 7
  • 16
  • 1
    Unfortunately it is not currently possible - see [How to use/attach an existing browser using Selenium?](http://stackoverflow.com/questions/26386418/how-to-use-attach-an-existing-browser-using-selenium) – Justin Ko Mar 30 '15 at 00:40
  • HI Justin Ko, Thank you. – RAJ Mar 30 '15 at 14:56

1 Answers1

-1

You will need to use plugins for this.

Please have a look at: The chrome driver & Firefox driver

Gokhan Dilek
  • 4,314
  • 4
  • 21
  • 24
  • hi, I am using watir-webdriver 0.7.0, Do I still need to install the above two package? If I install that, Can I attach the chrome browser? – RAJ Mar 29 '15 at 11:12