From c3676660a3dedb99229c8dce64c7f346bf97a73c Mon Sep 17 00:00:00 2001 From: g1879 Date: Thu, 10 Jun 2021 15:15:27 +0800 Subject: [PATCH] =?UTF-8?q?DriverElement=E5=A2=9E=E5=8A=A0set=5Fproperty()?= =?UTF-8?q?=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DrissionPage/configs.ini | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/DrissionPage/configs.ini b/DrissionPage/configs.ini index f97ca93..8edf064 100644 --- a/DrissionPage/configs.ini +++ b/DrissionPage/configs.ini @@ -1,10 +1,10 @@ [paths] -chromedriver_path = -tmp_path = +chromedriver_path = D:\python\projects\DrissionPage\DrissionPage\chromedriver.exe +tmp_path = D:\python\projects\DrissionPage\DrissionPage\tmp [chrome_options] -debugger_address = -binary_location = +debugger_address = 127.0.0.1:9222 +binary_location = D:\python\Google Chrome\Chrome\chrome.exe arguments = ['--no-sandbox', '--disable-gpu', '--ignore-certificate-errors', '--disable-infobars'] extensions = [] experimental_options = {'prefs': {'profile.default_content_settings.popups': 0, 'profile.default_content_setting_values': {'notifications': 2}, 'plugins.plugins_list': [{'enabled': False, 'name': 'Chrome PDF Viewer'}]}, 'useAutomationExtension': False, 'excludeSwitches': ['enable-automation']}