When running my code I get the below error string,
<string>:36: DeprecationWarning: executable_path has been deprecated, please pass in a Service object
What could possibly be the issue? Below is the Selenium setup,
options = webdriver.ChromeOptions()
prefs = {"download.default_directory" : wd}
options.add_experimental_option("prefs", prefs)
options.add_argument("--headless")
path = (chrome)
driver = webdriver.Chrome(executable_path=path, options = options)
driver.get('https://www.1linelogin.williams.com/1Line/xhtml/login.jsf?BUID=80')