Func SetupGecko()
_WD_Option('Driver', 'geckodriver.exe')
_WD_Option('DriverParams', '--binary "C:\Program Files\Mozilla Firefox\firefox.exe" --log trace')
_WD_Option('Port', 4444)
$sDesiredCapabilities = '{"capabilities": {"alwaysMatch": {"browserName": "firefox", "acceptInsecureCerts":true}}}'
EndFunc ;==>SetupGecko
How do Firefox logs redirect output to a file?
I can't find an example like Chrome in the wd_demo.au3
_WD_Option('DriverParams', '--verbose --log-path="' & @ScriptDir & '\chrome.log"')