mirror of
https://github.com/microsoft/playwright.git
synced 2024-10-27 21:58:52 +03:00
feat: add pixel 7 device with android 14 (#27700)
This commit is contained in:
parent
6d7d37061d
commit
0a0878d567
@ -1389,6 +1389,36 @@
|
||||
"hasTouch": true,
|
||||
"defaultBrowserType": "chromium"
|
||||
},
|
||||
"Pixel 7": {
|
||||
"userAgent": "Mozilla/5.0 (Linux; Android 14; Pixel 7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.6045.33 Mobile Safari/537.36",
|
||||
"screen": {
|
||||
"width": 412,
|
||||
"height": 915
|
||||
},
|
||||
"viewport": {
|
||||
"width": 412,
|
||||
"height": 839
|
||||
},
|
||||
"deviceScaleFactor": 2.625,
|
||||
"isMobile": true,
|
||||
"hasTouch": true,
|
||||
"defaultBrowserType": "chromium"
|
||||
},
|
||||
"Pixel 7 landscape": {
|
||||
"userAgent": "Mozilla/5.0 (Linux; Android 14; Pixel 7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.6045.33 Mobile Safari/537.36",
|
||||
"screen": {
|
||||
"width": 915,
|
||||
"height": 412
|
||||
},
|
||||
"viewport": {
|
||||
"width": 863,
|
||||
"height": 360
|
||||
},
|
||||
"deviceScaleFactor": 2.625,
|
||||
"isMobile": true,
|
||||
"hasTouch": true,
|
||||
"defaultBrowserType": "chromium"
|
||||
},
|
||||
"Moto G4": {
|
||||
"userAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.6045.33 Mobile Safari/537.36",
|
||||
"viewport": {
|
||||
|
2
packages/playwright-core/types/types.d.ts
vendored
2
packages/playwright-core/types/types.d.ts
vendored
@ -20323,6 +20323,8 @@ type Devices = {
|
||||
"Pixel 4a (5G) landscape": DeviceDescriptor;
|
||||
"Pixel 5": DeviceDescriptor;
|
||||
"Pixel 5 landscape": DeviceDescriptor;
|
||||
"Pixel 7": DeviceDescriptor;
|
||||
"Pixel 7 landscape": DeviceDescriptor;
|
||||
"Moto G4": DeviceDescriptor;
|
||||
"Moto G4 landscape": DeviceDescriptor;
|
||||
"Desktop Chrome HiDPI": DeviceDescriptor;
|
||||
|
Loading…
Reference in New Issue
Block a user