Hi,
Do anybody know why below error message spits out in my cmd window?
Thanks in advance!
!!! error running onStopped callback: TypeError: callback is not a
function
*** LOG addons.manager: shutdown
*** LOG addons.xpi: shutdown
-Script-
require ‘rubygems’
require ‘selenium-webdriver’
driver = Selenium::WebDriver.for :firefox
driver.get “http://google.com”
element = driver.find_element name: ‘q’
element.send_keys “Cheese!”
element.submit
puts “Page title is #{driver.title}”
wait = Selenium::WebDriver::Wait.new(:timeout => 10)
wait.until { driver.title.downcase.start_with? “cheese!” }
puts “Page title is #{driver.title}”
driver.quit
-Result-
Page title is Google
Page title is cheese! - Google Search
!!! error running onStopped callback: TypeError: callback is not a
function
*** LOG addons.manager: shutdown
*** LOG addons.xpi: shutdown