Created
March 13, 2017 10:20
-
-
Save strika/ad7e6b229e76345b3dda764a549a5a26 to your computer and use it in GitHub Desktop.
Print Firefox log
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
puts page.driver.browser.manage.logs.get(:browser).map { |m| "#{m.level}: #{m.message}" }.join("\n") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment