We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f8d1cd commit f09035dCopy full SHA for f09035d
seleniumbase/undetected/__init__.py
@@ -131,16 +131,7 @@ def __init__(
131
self.patcher.auto()
132
if not options:
133
options = ChromeOptions()
134
- try:
135
- if hasattr(options, "_session") and options._session is not None:
136
- # Prevent reuse of options.
137
- # (Probably a port overlap. Quit existing driver and continue.)
138
- logger.debug("You cannot reuse the ChromeOptions object")
139
- with suppress(Exception):
140
- options._session.quit()
141
- except AttributeError:
142
- pass
143
- options._session = self
+
144
debug_host = "127.0.0.1"
145
debug_port = 9222
146
special_port_free = False # If the port isn't free, don't use 9222
0 commit comments