Question

I'm trying to use the firewatir on ubuntu and I'm getting the following error:

irb(main):003:0> require 'firewatir' LoadError: cannot load such file -- watir/exceptions from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:inrequire' from /var/lib/gems/1.9.1/gems/firewatir-1.9.4/lib/firewatir/exceptions.rb:1:in <top (required)>' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:inrequire' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require' from /var/lib/gems/1.9.1/gems/firewatir-1.9.4/lib/firewatir.rb:5:in' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:60:in require' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:60:inrescue in require' from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:35:in require' from (irb):3 from /usr/bin/irb:12:in'

Does anyone have a clue on why this is happening? Did I forget to install anything?

Was it helpful?

Solution

Firewatir is deprecated. To drive Firefox you should install watir-webdriver. For installation instructions see https://github.com/watir/watirbook/blob/master/installation/ubuntu.md

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top