change logs
This commit is contained in:
+3
-3
@@ -1,4 +1,4 @@
|
||||
[DEFAULT]
|
||||
contact_list_file = C:\Users\landd\IdeaProjects\appointment_tool\contact_all.xlsx
|
||||
firebase_config_file = C:/Users/landd/IdeaProjects/appointment_tool/appointment.json
|
||||
LOGS_DIR = C:/Users/landd/IdeaProjects/appointment_tool/
|
||||
contact_list_file = .\contact_all.xlsx
|
||||
firebase_config_file = .\appointment.json
|
||||
LOGS_DIR = .\
|
||||
@@ -117,7 +117,7 @@ class CommandorPage:
|
||||
def start_browser(self, proxy, pwright, device) -> Union[str, None]:
|
||||
try:
|
||||
self.browser = pwright.webkit.launch(headless=False, timeout=90000, proxy=proxy)
|
||||
self.logger.info("device is " + device)
|
||||
self.logger.info("模拟设备: " + device)
|
||||
pixel_2 = pwright.devices[device]
|
||||
context = self.browser.new_context(**pixel_2, locale='en-GB')
|
||||
self.page = context.new_page()
|
||||
|
||||
Reference in New Issue
Block a user