mirror of
https://github.com/microsoft/playwright.git
synced 2024-09-11 20:37:54 +03:00
chore: add iPhone 15 device family (#31623)
Fixes https://github.com/microsoft/playwright/issues/31573 --------- Signed-off-by: Max Schmitt <max@schmitt.mx> Co-authored-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
parent
dcff807ab8
commit
ce2b138eeb
@ -955,6 +955,126 @@
|
|||||||
"hasTouch": true,
|
"hasTouch": true,
|
||||||
"defaultBrowserType": "webkit"
|
"defaultBrowserType": "webkit"
|
||||||
},
|
},
|
||||||
|
"iPhone 15": {
|
||||||
|
"userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Mobile/15E148 Safari/604.1",
|
||||||
|
"screen": {
|
||||||
|
"width": 393,
|
||||||
|
"height": 852
|
||||||
|
},
|
||||||
|
"viewport": {
|
||||||
|
"width": 393,
|
||||||
|
"height": 659
|
||||||
|
},
|
||||||
|
"deviceScaleFactor": 3,
|
||||||
|
"isMobile": true,
|
||||||
|
"hasTouch": true,
|
||||||
|
"defaultBrowserType": "webkit"
|
||||||
|
},
|
||||||
|
"iPhone 15 landscape": {
|
||||||
|
"userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Mobile/15E148 Safari/604.1",
|
||||||
|
"screen": {
|
||||||
|
"width": 393,
|
||||||
|
"height": 852
|
||||||
|
},
|
||||||
|
"viewport": {
|
||||||
|
"width": 734,
|
||||||
|
"height": 343
|
||||||
|
},
|
||||||
|
"deviceScaleFactor": 3,
|
||||||
|
"isMobile": true,
|
||||||
|
"hasTouch": true,
|
||||||
|
"defaultBrowserType": "webkit"
|
||||||
|
},
|
||||||
|
"iPhone 15 Plus": {
|
||||||
|
"userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Mobile/15E148 Safari/604.1",
|
||||||
|
"screen": {
|
||||||
|
"width": 430,
|
||||||
|
"height": 932
|
||||||
|
},
|
||||||
|
"viewport": {
|
||||||
|
"width": 430,
|
||||||
|
"height": 739
|
||||||
|
},
|
||||||
|
"deviceScaleFactor": 3,
|
||||||
|
"isMobile": true,
|
||||||
|
"hasTouch": true,
|
||||||
|
"defaultBrowserType": "webkit"
|
||||||
|
},
|
||||||
|
"iPhone 15 Plus landscape": {
|
||||||
|
"userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Mobile/15E148 Safari/604.1",
|
||||||
|
"screen": {
|
||||||
|
"width": 430,
|
||||||
|
"height": 932
|
||||||
|
},
|
||||||
|
"viewport": {
|
||||||
|
"width": 814,
|
||||||
|
"height": 380
|
||||||
|
},
|
||||||
|
"deviceScaleFactor": 3,
|
||||||
|
"isMobile": true,
|
||||||
|
"hasTouch": true,
|
||||||
|
"defaultBrowserType": "webkit"
|
||||||
|
},
|
||||||
|
"iPhone 15 Pro": {
|
||||||
|
"userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Mobile/15E148 Safari/604.1",
|
||||||
|
"screen": {
|
||||||
|
"width": 393,
|
||||||
|
"height": 852
|
||||||
|
},
|
||||||
|
"viewport": {
|
||||||
|
"width": 393,
|
||||||
|
"height": 659
|
||||||
|
},
|
||||||
|
"deviceScaleFactor": 3,
|
||||||
|
"isMobile": true,
|
||||||
|
"hasTouch": true,
|
||||||
|
"defaultBrowserType": "webkit"
|
||||||
|
},
|
||||||
|
"iPhone 15 Pro landscape": {
|
||||||
|
"userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Mobile/15E148 Safari/604.1",
|
||||||
|
"screen": {
|
||||||
|
"width": 393,
|
||||||
|
"height": 852
|
||||||
|
},
|
||||||
|
"viewport": {
|
||||||
|
"width": 734,
|
||||||
|
"height": 343
|
||||||
|
},
|
||||||
|
"deviceScaleFactor": 3,
|
||||||
|
"isMobile": true,
|
||||||
|
"hasTouch": true,
|
||||||
|
"defaultBrowserType": "webkit"
|
||||||
|
},
|
||||||
|
"iPhone 15 Pro Max": {
|
||||||
|
"userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Mobile/15E148 Safari/604.1",
|
||||||
|
"screen": {
|
||||||
|
"width": 430,
|
||||||
|
"height": 932
|
||||||
|
},
|
||||||
|
"viewport": {
|
||||||
|
"width": 430,
|
||||||
|
"height": 739
|
||||||
|
},
|
||||||
|
"deviceScaleFactor": 3,
|
||||||
|
"isMobile": true,
|
||||||
|
"hasTouch": true,
|
||||||
|
"defaultBrowserType": "webkit"
|
||||||
|
},
|
||||||
|
"iPhone 15 Pro Max landscape": {
|
||||||
|
"userAgent": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Mobile/15E148 Safari/604.1",
|
||||||
|
"screen": {
|
||||||
|
"width": 430,
|
||||||
|
"height": 932
|
||||||
|
},
|
||||||
|
"viewport": {
|
||||||
|
"width": 814,
|
||||||
|
"height": 380
|
||||||
|
},
|
||||||
|
"deviceScaleFactor": 3,
|
||||||
|
"isMobile": true,
|
||||||
|
"hasTouch": true,
|
||||||
|
"defaultBrowserType": "webkit"
|
||||||
|
},
|
||||||
"Kindle Fire HDX": {
|
"Kindle Fire HDX": {
|
||||||
"userAgent": "Mozilla/5.0 (Linux; U; en-us; KFAPWI Build/JDQ39) AppleWebKit/535.19 (KHTML, like Gecko) Silk/3.13 Safari/535.19 Silk-Accelerated=true",
|
"userAgent": "Mozilla/5.0 (Linux; U; en-us; KFAPWI Build/JDQ39) AppleWebKit/535.19 (KHTML, like Gecko) Silk/3.13 Safari/535.19 Silk-Accelerated=true",
|
||||||
"viewport": {
|
"viewport": {
|
||||||
|
8
packages/playwright-core/types/types.d.ts
vendored
8
packages/playwright-core/types/types.d.ts
vendored
@ -21106,6 +21106,14 @@ type Devices = {
|
|||||||
"iPhone 14 Pro landscape": DeviceDescriptor;
|
"iPhone 14 Pro landscape": DeviceDescriptor;
|
||||||
"iPhone 14 Pro Max": DeviceDescriptor;
|
"iPhone 14 Pro Max": DeviceDescriptor;
|
||||||
"iPhone 14 Pro Max landscape": DeviceDescriptor;
|
"iPhone 14 Pro Max landscape": DeviceDescriptor;
|
||||||
|
"iPhone 15": DeviceDescriptor;
|
||||||
|
"iPhone 15 landscape": DeviceDescriptor;
|
||||||
|
"iPhone 15 Plus": DeviceDescriptor;
|
||||||
|
"iPhone 15 Plus landscape": DeviceDescriptor;
|
||||||
|
"iPhone 15 Pro": DeviceDescriptor;
|
||||||
|
"iPhone 15 Pro landscape": DeviceDescriptor;
|
||||||
|
"iPhone 15 Pro Max": DeviceDescriptor;
|
||||||
|
"iPhone 15 Pro Max landscape": DeviceDescriptor;
|
||||||
"Kindle Fire HDX": DeviceDescriptor;
|
"Kindle Fire HDX": DeviceDescriptor;
|
||||||
"Kindle Fire HDX landscape": DeviceDescriptor;
|
"Kindle Fire HDX landscape": DeviceDescriptor;
|
||||||
"LG Optimus L70": DeviceDescriptor;
|
"LG Optimus L70": DeviceDescriptor;
|
||||||
|
Loading…
Reference in New Issue
Block a user