change logs

This commit is contained in:
2022-05-14 18:00:26 +02:00
parent cf77136d84
commit b093a3f2db
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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()