- Ruby 1.9.3p327
- watir-webdriver 0.6.1
I have some code which works on one computer but doesn't work on another, and I can't work out why:
require 'watir-webdriver'
b = Watir::Browser.new
timey = Time.now; b.div(:id => 'nonexistant').wait_until_present(0.1) rescue puts "#{Time.now - timey}"
This returns:
60.045506
It should wait for only 0.1 seconds. The only difference I can see between the 2 computers is one is using Ruby p327 and the other is using p286.
I don't know whether this is relevant, but I've noticed a line when webdriver loads stating "blocklist is disabled" which I don't remember seeing before.