Forums

Activate headless Chrome on my account

Hey! Could you please activate chrome in my account? I have problems accessing selenium chrome options:

driver = webdriver.Chrome(executable_path=r"/chromedriver",options=opts)

TypeError: __init__() got an unexpected keyword argument 'options'

No problem. It's done for you.

Thank you! Although I'm not sure why I keep getting the error

TypeError: __init__() got an unexpected keyword argument 'options'

Am I referencing the chromedriver wrong? How do I add options?

Wait a second I noticed I'm using Python 2.7 but I need Python 3.8.5

Update again: I figured out how to run Python 3.8 but I still get the options error

Working through this, upgraded selenium and received

selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable may have wrong permissions. Please see https://sites.google.com/a/chromium.org/chro medriver/home

Update: I solved it

Good to see that you sorted it out.

hi can u Activate headless Chrome on my account

@ishanpatilsvss It's done for you