がMarionetteDriver
起動されると、すべての操作のログ ステートメントが出力されます。
1465882610065 Marionette TRACE conn0 -> [0,138,"executeScript",{"args":[],"newSandbox":false,"script":"return Math.max(document.body.scrollHeight, document.documentElement.scrollHeight,document.body.offsetHeight, document.documentElement.offsetHeight,document.body.clientHeight, document.documentElement.clientHeight);","scriptTimeout":null,"specialPowers":false}]
1465882610066 Marionette TRACE conn0 <- [1,138,null,{"value":895}]
1465882610070 Marionette TRACE conn0 -> [0,139,"executeScript",{"args":[],"newSandbox":false,"script":"window.devicePixelRatio = window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI; var pr = window.devicePixelRatio; if (pr != undefined && pr != null) return pr; else return 1.0;","scriptTimeout":null,"specialPowers":false}]
1465882610071 Marionette TRACE conn0 <- [1,139,null,{"value":1}]
1465882610319 Marionette TRACE conn0 -> [0,140,"findElements",{"using":"css selector","value":".logOut"}]
1465882610321 Marionette TRACE conn0 <- [1,140,null,[{"element-6066-11e4-a52e-4f735466cecf":"f9d9adc3-58df-446a-953d-eb793ac27025","ELEMENT":"f9d9adc3-58df-446a-953d-eb793ac27025"}]]
1465882610325 Marionette TRACE conn0 -> [0,141,"isElementDisplayed",{"id":"f9d9adc3-58df-446a-953d-eb793ac27025"}]
1465882610335 Marionette TRACE conn0 <- [1,141,null,{"value":true}]
1465882610338 Marionette TRACE conn0 -> [0,142,"isElementEnabled",{"id":"f9d9adc3-58df-446a-953d-eb793ac27025"}]
1465882610340 Marionette TRACE conn0 <- [1,142,null,{"value":true}]
1465882610343 Marionette TRACE conn0 -> [0,143,"clickElement",{"id":"f9d9adc3-58df-446a-953d-eb793ac27025"}]
1465882610372 Marionette TRACE conn0 <- [1,143,null,{}]
1465882610398 Marionette TRACE conn0 -> [0,144,"quitApplication",{"flags":["eForceQuit"]}]
1465882610399 Marionette TRACE conn0 <- [1,144,null,{}]
1465882610404 addons.xpi DEBUG Calling bootstrap method shutdown on @spritzfirefox version 4.1.5b
1465882610415 addons.xpi DEBUG Calling bootstrap method shutdown on e10srollout@mozilla.org version 1.0
1465882610416 addons.xpi DEBUG Calling bootstrap method shutdown on firefox@getpocket.com version 1.0.2
1465882610416 addons.xpi DEBUG Calling bootstrap method shutdown on loop@mozilla.org version 1.3.2
そして、私はMarionetteDriver
によって起動しています
System.setProperty("webdriver.gecko.driver", "geckodriver.exe");
WebDriver driver = new MarionetteDriver();
ログを無効にする機能はありますか