lib/teabag/drivers/selenium_driver.rb in teabag-0.5.4 vs lib/teabag/drivers/selenium_driver.rb in teabag-0.5.5
- old
+ new
@@ -7,10 +7,10 @@
def run_specs(suite, url)
runner = Teabag::Runner.new(suite)
driver = Selenium::WebDriver.for(:firefox)
- driver.navigate.to("#{url}&reporter=Console")
+ driver.navigate.to(url)
Selenium::WebDriver::Wait.new(timeout: 180, interval: 0.01, message: "Timed out").until do
done = driver.execute_script("return window.Teabag && window.Teabag.finished")
driver.execute_script("return window.Teabag && window.Teabag.getMessages() || []").each do |line|
runner.process("#{line}\n")