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 0b77e4a commit 3088a03Copy full SHA for 3088a03
botcity/web/bot.py
@@ -267,7 +267,7 @@ def check_driver():
267
def _get_parameters_to_driver(self):
268
if self.browser == Browser.UNDETECTED_CHROME:
269
return {"driver_executable_path": self.driver_path, "options": self.options,
270
- "desired_capabilities": self.capabilities, "headless": True}
+ "desired_capabilities": self.capabilities, "headless": self.headless}
271
if compat.version_selenium_is_larger_than_four():
272
return {"options": self.options, "service": self._get_service()}
273
0 commit comments