mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
chore: add iPhone 13 device family (#9392)
This commit is contained in:
parent
d96c47477a
commit
49a53e23df
@ -663,6 +663,126 @@
|
||||
"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": {
|
||||
"width": 390,
|
||||
"height": 844
|
||||
},
|
||||
"viewport": {
|
||||
"width": 390,
|
||||
"height": 664
|
||||
},
|
||||
"deviceScaleFactor": 3,
|
||||
"isMobile": true,
|
||||
"hasTouch": true,
|
||||
"defaultBrowserType": "webkit"
|
||||
},
|
||||
"iPhone 13 landscape": {
|
||||
"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": {
|
||||
"width": 390,
|
||||
"height": 844
|
||||
},
|
||||
"viewport": {
|
||||
"width": 750,
|
||||
"height": 342
|
||||
},
|
||||
"deviceScaleFactor": 3,
|
||||
"isMobile": true,
|
||||
"hasTouch": true,
|
||||
"defaultBrowserType": "webkit"
|
||||
},
|
||||
"iPhone 13 Pro": {
|
||||
"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": {
|
||||
"width": 390,
|
||||
"height": 844
|
||||
},
|
||||
"viewport": {
|
||||
"width": 390,
|
||||
"height": 664
|
||||
},
|
||||
"deviceScaleFactor": 3,
|
||||
"isMobile": true,
|
||||
"hasTouch": true,
|
||||
"defaultBrowserType": "webkit"
|
||||
},
|
||||
"iPhone 13 Pro landscape": {
|
||||
"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": {
|
||||
"width": 390,
|
||||
"height": 844
|
||||
},
|
||||
"viewport": {
|
||||
"width": 750,
|
||||
"height": 342
|
||||
},
|
||||
"deviceScaleFactor": 3,
|
||||
"isMobile": true,
|
||||
"hasTouch": true,
|
||||
"defaultBrowserType": "webkit"
|
||||
},
|
||||
"iPhone 13 Pro Max": {
|
||||
"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": {
|
||||
"width": 428,
|
||||
"height": 926
|
||||
},
|
||||
"viewport": {
|
||||
"width": 428,
|
||||
"height": 746
|
||||
},
|
||||
"deviceScaleFactor": 3,
|
||||
"isMobile": true,
|
||||
"hasTouch": true,
|
||||
"defaultBrowserType": "webkit"
|
||||
},
|
||||
"iPhone 13 Pro Max landscape": {
|
||||
"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": {
|
||||
"width": 428,
|
||||
"height": 926
|
||||
},
|
||||
"viewport": {
|
||||
"width": 832,
|
||||
"height": 380
|
||||
},
|
||||
"deviceScaleFactor": 3,
|
||||
"isMobile": true,
|
||||
"hasTouch": true,
|
||||
"defaultBrowserType": "webkit"
|
||||
},
|
||||
"iPhone 13 Mini": {
|
||||
"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": {
|
||||
"width": 375,
|
||||
"height": 812
|
||||
},
|
||||
"viewport": {
|
||||
"width": 375,
|
||||
"height": 629
|
||||
},
|
||||
"deviceScaleFactor": 3,
|
||||
"isMobile": true,
|
||||
"hasTouch": true,
|
||||
"defaultBrowserType": "webkit"
|
||||
},
|
||||
"iPhone 13 Mini landscape": {
|
||||
"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": {
|
||||
"width": 375,
|
||||
"height": 812
|
||||
},
|
||||
"viewport": {
|
||||
"width": 712,
|
||||
"height": 327
|
||||
},
|
||||
"deviceScaleFactor": 3,
|
||||
"isMobile": true,
|
||||
"hasTouch": true,
|
||||
"defaultBrowserType": "webkit"
|
||||
},
|
||||
"JioPhone 2": {
|
||||
"userAgent": "Mozilla/5.0 (Mobile; LYF/F300B/LYF-F300B-001-01-15-130718-i;Android; rv:89.0 Gecko/48.0 Firefox/92.0 KAIOS/2.5",
|
||||
"viewport": {
|
||||
|
||||
8
types/types.d.ts
vendored
8
types/types.d.ts
vendored
@ -15402,6 +15402,14 @@ type Devices = {
|
||||
"iPhone 12 Pro landscape": DeviceDescriptor;
|
||||
"iPhone 12 Pro Max": DeviceDescriptor;
|
||||
"iPhone 12 Pro Max landscape": DeviceDescriptor;
|
||||
"iPhone 13": DeviceDescriptor;
|
||||
"iPhone 13 landscape": DeviceDescriptor;
|
||||
"iPhone 13 Pro": DeviceDescriptor;
|
||||
"iPhone 13 Pro landscape": DeviceDescriptor;
|
||||
"iPhone 13 Pro Max": DeviceDescriptor;
|
||||
"iPhone 13 Pro Max landscape": DeviceDescriptor;
|
||||
"iPhone 13 Mini": DeviceDescriptor;
|
||||
"iPhone 13 Mini landscape": DeviceDescriptor;
|
||||
"JioPhone 2": DeviceDescriptor;
|
||||
"JioPhone 2 landscape": DeviceDescriptor;
|
||||
"Kindle Fire HDX": DeviceDescriptor;
|
||||
|
||||
@ -145,7 +145,7 @@ async function run() {
|
||||
|
||||
if (dirtyFiles.size) {
|
||||
console.log('============================')
|
||||
console.log('ERROR: generated markdown files have changed, this is only error if happens in CI:');
|
||||
console.log('ERROR: generated files have changed, this is only error if happens in CI:');
|
||||
[...dirtyFiles].forEach(f => console.log(f));
|
||||
console.log('============================')
|
||||
process.exit(1);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user