douglasdcm/caqui

Implement/test headless parameter

Closed this issue · 1 comments

Implement/test headless parameter

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"]},
            }
        }