roll back to en

This commit is contained in:
Lei PAN
2022-06-04 11:22:06 +02:00
parent f8167dd2d0
commit ec837623b7
+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("""() => {