mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-13 17:14:02 +03:00
feat: add screen definitions for ipad gen 5 (#24355)
This commit is contained in:
parent
4ba6d789bc
commit
78a2b7237e
@ -197,6 +197,28 @@
|
||||
"hasTouch": true,
|
||||
"defaultBrowserType": "chromium"
|
||||
},
|
||||
"iPad (gen 5)": {
|
||||
"userAgent": "Mozilla/5.0 (iPad; CPU OS 12_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1",
|
||||
"viewport": {
|
||||
"width": 768,
|
||||
"height": 1024
|
||||
},
|
||||
"deviceScaleFactor": 2,
|
||||
"isMobile": true,
|
||||
"hasTouch": true,
|
||||
"defaultBrowserType": "webkit"
|
||||
},
|
||||
"iPad (gen 5) landscape": {
|
||||
"userAgent": "Mozilla/5.0 (iPad; CPU OS 12_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1",
|
||||
"viewport": {
|
||||
"width": 1024,
|
||||
"height": 768
|
||||
},
|
||||
"deviceScaleFactor": 2,
|
||||
"isMobile": true,
|
||||
"hasTouch": true,
|
||||
"defaultBrowserType": "webkit"
|
||||
},
|
||||
"iPad (gen 6)": {
|
||||
"userAgent": "Mozilla/5.0 (iPad; CPU OS 12_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1",
|
||||
"viewport": {
|
||||
|
2
packages/playwright-core/types/types.d.ts
vendored
2
packages/playwright-core/types/types.d.ts
vendored
@ -19944,6 +19944,8 @@ type Devices = {
|
||||
"Galaxy S9+ landscape": DeviceDescriptor;
|
||||
"Galaxy Tab S4": DeviceDescriptor;
|
||||
"Galaxy Tab S4 landscape": DeviceDescriptor;
|
||||
"iPad (gen 5)": DeviceDescriptor;
|
||||
"iPad (gen 5) landscape": DeviceDescriptor;
|
||||
"iPad (gen 6)": DeviceDescriptor;
|
||||
"iPad (gen 6) landscape": DeviceDescriptor;
|
||||
"iPad (gen 7)": DeviceDescriptor;
|
||||
|
Loading…
Reference in New Issue
Block a user