switch to fr lang

This commit is contained in:
Lei PAN
2022-06-04 17:51:13 +02:00
parent c6a7932a4f
commit c24d2e2c2e
+1 -1
View File
@@ -145,7 +145,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='en-GB')
context = self.browser.new_context(**pixel_2, locale='fr-FR')
self.page = context.new_page()
# hide webdriver information
self.page.add_init_script("""() => {