Chromedriver problem: __init__() got an unexpected keyword argument 'options'

Hi! when i want to use options in selenium with chromedriver (it was habilited for me) i get the error of the title. I would like to know if there is something i miss

My code:

from selenium import webdriver
from import By
from selenium.webdriver.common.action_chains import ActionChains
from import expected_conditions
from import WebDriverWait
from selenium.webdriver.common.keys import Keys
from import Options
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
from pyvirtualdisplay import Display

with Display():
        chrome_options = webdriver.ChromeOptions()
        driver = webdriver.Chrome(options=chrome_options)

Did you upgrade selenium to the most recent version?

I upgraded and works now, thanks!

Glad you got that working!