2 years ago
when i deploy the program i get this error:
Traceback (most recent call last):
File "main.py", line 27, in
wbe = webdriver.Chrome("directory/chromedriver",options=chromeOptions)
TypeError: init() got multiple values for argument 'options'
Traceback (most recent call last):
File "main.py", line 27, in
wbe = webdriver.Chrome("directory/chromedriver",options=chromeOptions)
TypeError: init() got multiple values for argument 'options'
when i deploy the program i get this error:
Traceback (most recent call last):
File "main.py", line 27, in
wbe = webdriver.Chrome("directory/chromedriver",options=chromeOptions)
TypeError: init() got multiple values for argument 'options'
Traceback (most recent call last):
File "main.py", line 27, in
wbe = webdriver.Chrome("directory/chromedriver",options=chromeOptions)
TypeError: init() got multiple values for argument 'options'
i tried with this code:
chromeOptions = webdriver.ChromeOptions()
chromeOptions.addargument("ignore-certificate-errors") chromeOptions.addargument('--headless=chrome')
wbe = webdriver.Chrome("directory/chromedriver",options=chromeOptions)
> ⓘ Deployment information is only viewable by Project members and Railway admins.
2 Replies
2 years ago
I would highly recommend using browserless instead.
Browserless has a guide on how to use it with Selenium here -
2 years ago
yes but do I have to pay to get the token? Isn't there a free way to do it?