From 15f05538d027354aff67b2433b3fd26aed498996 Mon Sep 17 00:00:00 2001 From: burak-58 Date: Sun, 19 Nov 2023 11:26:44 +0300 Subject: [PATCH] fix py file --- multitrack-conference-server.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/multitrack-conference-server.py b/multitrack-conference-server.py index 3ddff04e..9e610c97 100644 --- a/multitrack-conference-server.py +++ b/multitrack-conference-server.py @@ -31,8 +31,8 @@ def init(self, is_headless): dc = DesiredCapabilities.CHROME.copy() dc['goog:loggingPrefs'] = { 'browser':'ALL' } - #service = Service(executable_path='/home/ubuntu/chromedriver') - service = Service(executable_path='C:/WebDriver/chromedriver.exe') + service = Service(executable_path='/home/ubuntu/chromedriver') + #service = Service(executable_path='C:/WebDriver/chromedriver.exe') self.driver = webdriver.Chrome(service=service, options=browser_options) @@ -77,7 +77,7 @@ def close_all(self): #url="www.google.com" app = Flask(__name__) chrome = Browser() -chrome.init(False) +chrome.init(True) @app.route('/create', methods=['GET'])