def to_capabilities(self):
        chrome = DesiredCapabilities.CHROME.copy()

        chrome_options = self.experimental_options.copy()
        chrome_options["extensions"] = self.extensions
        if self.binary_location:
            chrome_options["binary"] = self.binary_location
        chrome_options["args"] = self.arguments

        chrome["chromeOptions"] = chrome_options

        return chrome
Creates a capabilities with all the options that have been set and
dataset/ETHPy150Open apiad/sublime-browser-integration/selenium/webdriver/chrome/options.py/Options.to_capabilities