I'm using the code from the documentation: https://pypi.org/project/webdriver-manager/#use-with-chrome.
After install and upgrade all package and running code below:
from selenium import webdriver
from selenium.webdriver.chrome.service import Service as ChromeService
from webdriver_manager.chrome import ChromeDriverManager
driver = webdriver.Chrome(service=ChromeService(ChromeDriverManager().install()))
I got an error: OSError: [WinError 193] %1 is not a valid Win32 application
I don't know how to resolve it since the last time I ran the driver it was working correctly without issue.
I appreciate your help guys.
Based on the Shaw comment and answer here: Unable to use Selenium Webdriver. Getting two exceptions
To open Chrom just used:
from selenium import webdriver
driver = webdriver.Chrome()
driver.get("https://www.google.com/")
driver.quit()