This repository was archived by the owner on Sep 29, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
This repository was archived by the owner on Sep 29, 2025. It is now read-only.
Latest selenium-driverless unsupported #119
Copy link
Copy link
Open
Labels
wontfixThis will not be worked onThis will not be worked on
Description
I TRIED RUNNING this basic code with the latest Selenium-Driverless and Selenium-Profiles
from selenium_profiles.webdriver import Chrome
from selenium_profiles.profiles import profiles
from selenium_driverless.webdriver import ChromeOptions
from selenium_driverless.types.by import By
profile = profiles.Windows() # or .Android
options = ChromeOptions()
# options.add_argument("--headless=new")
driver = Chrome(profile, options=options, driverless_options=True)
# get url
driver.get('https://nowsecure.nl#relax') # test fingerprint
driver.quit() # Execute on the End!
I GOT TRACE ERROR
Traceback (most recent call last):
File "C:\Users\alima\PycharmProjects\pythonProject2\main.py", line 9, in <module>
driver = Chrome(profile, options=options, driverless_options=True)
File "C:\Users\alima\PycharmProjects\pythonProject2\venv\lib\site-packages\selenium_profiles\webdriver.py", line 109, in __init__
options_manager = options_handler(options, profile["options"], duplicate_policy=duplicate_policy,
File "C:\Users\alima\PycharmProjects\pythonProject2\venv\lib\site-packages\selenium_profiles\scripts\profiles.py", line 234, in __init__
self.to_capabilities = self.Options.to_capabilities
AttributeError: 'Options' object has no attribute 'to_capabilities'
Exception ignored in: <function Chrome.__del__ at 0x000002817F995D80>
Traceback (most recent call last):
File "C:\Users\alima\PycharmProjects\pythonProject2\venv\lib\site-packages\selenium_driverless\webdriver.py", line 860, in __del__
if self._started:
File "C:\Users\alima\PycharmProjects\pythonProject2\venv\lib\site-packages\selenium_driverless\sync\webdriver.py", line 28, in __getattribute__
res = super().__getattribute__(item)
AttributeError: 'Chrome' object has no attribute '_started'Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
wontfixThis will not be worked onThis will not be worked on