mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
feat: add iPhone 12 Mini (#11429)
Co-authored-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
parent
3c8222056a
commit
b47c95c20c
@ -663,6 +663,36 @@
|
||||
"hasTouch": true,
|
||||
"defaultBrowserType": "webkit"
|
||||
},
|
||||
"iPhone 12 Mini": {
|
||||
"userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 14_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.4 Mobile/15E148 Safari/604.1",
|
||||
"screen": {
|
||||
"width": 375,
|
||||
"height": 812
|
||||
},
|
||||
"viewport": {
|
||||
"width": 375,
|
||||
"height": 629
|
||||
},
|
||||
"deviceScaleFactor": 3,
|
||||
"isMobile": true,
|
||||
"hasTouch": true,
|
||||
"defaultBrowserType": "webkit"
|
||||
},
|
||||
"iPhone 12 Mini landscape": {
|
||||
"userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 14_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.4 Mobile/15E148 Safari/604.1",
|
||||
"screen": {
|
||||
"width": 375,
|
||||
"height": 812
|
||||
},
|
||||
"viewport": {
|
||||
"width": 712,
|
||||
"height": 325
|
||||
},
|
||||
"deviceScaleFactor": 3,
|
||||
"isMobile": true,
|
||||
"hasTouch": true,
|
||||
"defaultBrowserType": "webkit"
|
||||
},
|
||||
"iPhone 13": {
|
||||
"userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 15_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.4 Mobile/15E148 Safari/604.1",
|
||||
"screen": {
|
||||
|
2
packages/playwright-core/types/types.d.ts
vendored
2
packages/playwright-core/types/types.d.ts
vendored
@ -15830,6 +15830,8 @@ type Devices = {
|
||||
"iPhone 12 Pro landscape": DeviceDescriptor;
|
||||
"iPhone 12 Pro Max": DeviceDescriptor;
|
||||
"iPhone 12 Pro Max landscape": DeviceDescriptor;
|
||||
"iPhone 12 Mini": DeviceDescriptor;
|
||||
"iPhone 12 Mini landscape": DeviceDescriptor;
|
||||
"iPhone 13": DeviceDescriptor;
|
||||
"iPhone 13 landscape": DeviceDescriptor;
|
||||
"iPhone 13 Pro": DeviceDescriptor;
|
||||
|
Loading…
x
Reference in New Issue
Block a user