Implement/test headless parameter
Closed this issue · 1 comments
douglasdcm commented
Implement/test headless parameter
douglasdcm commented
Thanks to @tomasserravento for find the correct way in issue #42 . Here is the sample code for ChromeDriver
capabilities = {
"desiredCapabilities": {
"browserName": "chrome",
"marionette": True,
"acceptInsecureCerts": True,
"pageLoadStrategy": "normal",
"goog:chromeOptions": {"extensions": [], "args": ["--headless"]},
}
}