The problem is that you're manually loading `watir-webdriver` thus `watir` 
`Browser#initialize` will not be overridden. You could avoid that by loading 
the driver manually.

```ruby
require "watir"
Watir.driver = :webdriver # since you're already tightly coupled with it then 
there's no need to use :classic ever
Watir.load_driver

# and no need to load watir-webdriver anymore
```

Also make sure that in the `Gemfile` is only `watir` and not `watir-webdriver`.

Does this work for you?

---
Reply to this email directly or view it on GitHub:
https://github.com/watir/watir/commit/4e2fa0a279d09b3ebc2b22b23302d1be8aa8add3#commitcomment-4280788
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development

Reply via email to