We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cc1998 commit da0874eCopy full SHA for da0874e
botcity/web/bot.py
@@ -265,9 +265,14 @@ def check_driver():
265
self.set_screen_resolution()
266
267
def _instantiate_driver(self, driver_class, func_def_options):
268
+ """
269
+ It is necessary to create this function because we isolated the instantiation of the driver,
270
+ giving options to solve some bugs, mainly in undetected chrome.
271
272
try:
273
driver = driver_class(**self._get_parameters_to_driver())
274
except WebDriverException as error:
275
+ # TODO: 'Undetected Chrome' fix error to upgrade version chrome.
276
if 'This version of ChromeDriver only supports Chrome version' in error.msg:
277
self.stop_browser()
278
0 commit comments