How I can check browser console if there are any error?
I'm following the watir ubuntu tutorial:
require "selenium-webdriver"
browser = Selenium::WebDriver.for :firefox
browser.get "http://watir.com"
How I can check browser console if there are any error?
I'm following the watir ubuntu tutorial:
require "selenium-webdriver"
browser = Selenium::WebDriver.for :firefox
browser.get "http://watir.com"
Easy , add this lines at the end console_logs = browser.driver.manage.logs.get(:browser) puts console_logs