Question:
i have tried all ways to do this
but there is incompatibility issues
what should i do?
i am tried toUse the Built-in Chromedriver , the issue has not resolved
also i use a webdrive compatible to my chrome user and uploaded to the project
but issue still persists at the line of code that have been assigning the driver
File "main.py", line 9, in <module>
driver = webdriver.Chrome(options=chrome_options)
Traceback (most recent call last):
File "main.py", line 8, in <module>
from selenium.webdriver.common.by import chrome_options
ImportError: cannot import name 'chrome_options' from 'selenium.webdriver.common.by' (/home/runner/selenium-project-1/.pythonlibs/lib/python3.10/site-packages/selenium/webdriver/common/by.py)
Traceback (most recent call last):
File "main.py", line 8, in <module>
from selenium import chrome_options
ImportError: cannot import name 'chrome_options' from 'selenium' (/home/runner/selenium-project-1/.pythonlibs/lib/python3.10/site-packages/selenium/__init__.py)