roll back to en

This commit is contained in:
Lei PAN
2022-06-04 11:25:44 +02:00
parent 0a8c8e6330
commit 63a445bca9
+1 -1
View File
@@ -141,7 +141,7 @@ class CommandorPage:
self.browser = pwright.webkit.launch(headless=False, timeout=PAGE_TIMEOUT, proxy=proxy)
self.logger.info("模拟设备: " + device)
pixel_2 = pwright.devices[device]
context = self.browser.new_context(**pixel_2, locale='fr-FR')
context = self.browser.new_context(**pixel_2, locale='en-GB')
self.page = context.new_page()
# hide webdriver information
self.page.add_init_script("""() => {