From 1dd29518a16828d2d2701fd67da954af9fa49b53 Mon Sep 17 00:00:00 2001 From: kaliiiiiiiiiii Date: Fri, 13 Jan 2023 21:05:25 +0100 Subject: [PATCH] Fixed google-colab --- src/selenium_profiles/driver.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/selenium_profiles/driver.py b/src/selenium_profiles/driver.py index 6da81a9..69538ce 100644 --- a/src/selenium_profiles/driver.py +++ b/src/selenium_profiles/driver.py @@ -39,12 +39,12 @@ def start(self, profile: dict, uc_driver: bool = False): if self.profile["options"]["browser"]["sandbox"] is True: warnings.warn('Google-colab doesn\'t work with sandbox enabled yet, disabling..') else: - self.profile["options"]["browser"].update({"sandbox":True}) + self.profile["options"]["browser"].update({"sandbox":False}) else: - self.profile["options"].update({"browser":{"sandbox":True}}) + self.profile["options"].update({"browser":{"sandbox":False}}) else: # noinspection PyTypeChecker - self.profile.update({"options":{"browser":{"sandbox":True}}}) + self.profile.update({"options":{"browser":{"sandbox":False}}}) if uc_driver: try: