How do I turn off the logging for PhantomJS in Watir-WebDriver?
问题 I see a lot of logging information for PhantomJS in my ruby (1.8) watir code, i.e INFO messages. How do I turn it off ? I got the Java code from google search but not ruby code. Java PhantomJSDriver disable all logs in console PhantomJS is launching GhostDriver... [INFO - 2015-01-27T10:00:00.000Z] GhostDriver - Main - running on port 8910 [INFO - 2015-01-27T10:00:00.000Z] Session [30344df0-a7de-11e4-9220-5bf7aac4a098] - _decorateNewWindow - page.settings: {"XSSAuditingEnabled":false,