How can I change logfile path of phantomjs with selenium?
问题 When using phantomjs with selenium, I would like to change the default --webdriver-logfile parameter, that selenium passes to phantomjs. How can I do it? The corresponding line in selenium log: 11:06:06.960 INFO - arguments: [--webdriver=14380, --webdriver-logfile=<ROOT PATH DELETED HERE>/phantomjsdriver.log] Firing up phantomjs in coffeescript: webdriverio = require 'webdriverio' module.exports.World = World = (next) -> @browser = webdriverio.remote({ desiredCapabilities: { browserName: