playwright-core
Advanced tools
Comparing version 1.49.0-alpha-2024-10-24 to 1.49.0-alpha-2024-10-25
@@ -6,5 +6,5 @@ { | ||
"name": "chromium", | ||
"revision": "1143", | ||
"revision": "1145", | ||
"installByDefault": true, | ||
"browserVersion": "131.0.6778.3" | ||
"browserVersion": "131.0.6778.13" | ||
}, | ||
@@ -11,0 +11,0 @@ { |
@@ -440,3 +440,4 @@ "use strict"; | ||
device: options.device, | ||
saveStorage: options.saveStorage | ||
saveStorage: options.saveStorage, | ||
handleSIGINT: false | ||
}); | ||
@@ -473,3 +474,4 @@ await openPage(context, url); | ||
testIdAttributeName, | ||
outputFile: outputFile ? _path.default.resolve(outputFile) : undefined | ||
outputFile: outputFile ? _path.default.resolve(outputFile) : undefined, | ||
handleSIGINT: false | ||
}); | ||
@@ -476,0 +478,0 @@ await openPage(context, url); |
@@ -113,3 +113,3 @@ { | ||
"Galaxy S5": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36", | ||
"viewport": { | ||
@@ -125,3 +125,3 @@ "width": 360, | ||
"Galaxy S5 landscape": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36", | ||
"viewport": { | ||
@@ -137,3 +137,3 @@ "width": 640, | ||
"Galaxy S8": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 7.0; SM-G950U Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 7.0; SM-G950U Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36", | ||
"viewport": { | ||
@@ -149,3 +149,3 @@ "width": 360, | ||
"Galaxy S8 landscape": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 7.0; SM-G950U Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 7.0; SM-G950U Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36", | ||
"viewport": { | ||
@@ -161,3 +161,3 @@ "width": 740, | ||
"Galaxy S9+": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; SM-G965U Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; SM-G965U Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36", | ||
"viewport": { | ||
@@ -173,3 +173,3 @@ "width": 320, | ||
"Galaxy S9+ landscape": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; SM-G965U Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; SM-G965U Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36", | ||
"viewport": { | ||
@@ -185,3 +185,3 @@ "width": 658, | ||
"Galaxy Tab S4": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 8.1.0; SM-T837A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 8.1.0; SM-T837A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Safari/537.36", | ||
"viewport": { | ||
@@ -197,3 +197,3 @@ "width": 712, | ||
"Galaxy Tab S4 landscape": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 8.1.0; SM-T837A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 8.1.0; SM-T837A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Safari/537.36", | ||
"viewport": { | ||
@@ -1109,3 +1109,3 @@ "width": 1138, | ||
"LG Optimus L70": { | ||
"userAgent": "Mozilla/5.0 (Linux; U; Android 4.4.2; en-us; LGMS323 Build/KOT49I.MS32310c) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/131.0.6778.3 Mobile Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; U; Android 4.4.2; en-us; LGMS323 Build/KOT49I.MS32310c) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/131.0.6778.13 Mobile Safari/537.36", | ||
"viewport": { | ||
@@ -1121,3 +1121,3 @@ "width": 384, | ||
"LG Optimus L70 landscape": { | ||
"userAgent": "Mozilla/5.0 (Linux; U; Android 4.4.2; en-us; LGMS323 Build/KOT49I.MS32310c) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/131.0.6778.3 Mobile Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; U; Android 4.4.2; en-us; LGMS323 Build/KOT49I.MS32310c) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/131.0.6778.13 Mobile Safari/537.36", | ||
"viewport": { | ||
@@ -1133,3 +1133,3 @@ "width": 640, | ||
"Microsoft Lumia 550": { | ||
"userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 550) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36 Edge/14.14263", | ||
"userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 550) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36 Edge/14.14263", | ||
"viewport": { | ||
@@ -1145,3 +1145,3 @@ "width": 640, | ||
"Microsoft Lumia 550 landscape": { | ||
"userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 550) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36 Edge/14.14263", | ||
"userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 550) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36 Edge/14.14263", | ||
"viewport": { | ||
@@ -1157,3 +1157,3 @@ "width": 360, | ||
"Microsoft Lumia 950": { | ||
"userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 950) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36 Edge/14.14263", | ||
"userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 950) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36 Edge/14.14263", | ||
"viewport": { | ||
@@ -1169,3 +1169,3 @@ "width": 360, | ||
"Microsoft Lumia 950 landscape": { | ||
"userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 950) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36 Edge/14.14263", | ||
"userAgent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 950) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36 Edge/14.14263", | ||
"viewport": { | ||
@@ -1181,3 +1181,3 @@ "width": 640, | ||
"Nexus 10": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 10 Build/MOB31T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 10 Build/MOB31T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Safari/537.36", | ||
"viewport": { | ||
@@ -1193,3 +1193,3 @@ "width": 800, | ||
"Nexus 10 landscape": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 10 Build/MOB31T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 10 Build/MOB31T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Safari/537.36", | ||
"viewport": { | ||
@@ -1205,3 +1205,3 @@ "width": 1280, | ||
"Nexus 4": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36", | ||
"viewport": { | ||
@@ -1217,3 +1217,3 @@ "width": 384, | ||
"Nexus 4 landscape": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36", | ||
"viewport": { | ||
@@ -1229,3 +1229,3 @@ "width": 640, | ||
"Nexus 5": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36", | ||
"viewport": { | ||
@@ -1241,3 +1241,3 @@ "width": 360, | ||
"Nexus 5 landscape": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36", | ||
"viewport": { | ||
@@ -1253,3 +1253,3 @@ "width": 640, | ||
"Nexus 5X": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 5X Build/OPR4.170623.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 5X Build/OPR4.170623.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36", | ||
"viewport": { | ||
@@ -1265,3 +1265,3 @@ "width": 412, | ||
"Nexus 5X landscape": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 5X Build/OPR4.170623.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 5X Build/OPR4.170623.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36", | ||
"viewport": { | ||
@@ -1277,3 +1277,3 @@ "width": 732, | ||
"Nexus 6": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 7.1.1; Nexus 6 Build/N6F26U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 7.1.1; Nexus 6 Build/N6F26U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36", | ||
"viewport": { | ||
@@ -1289,3 +1289,3 @@ "width": 412, | ||
"Nexus 6 landscape": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 7.1.1; Nexus 6 Build/N6F26U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 7.1.1; Nexus 6 Build/N6F26U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36", | ||
"viewport": { | ||
@@ -1301,3 +1301,3 @@ "width": 732, | ||
"Nexus 6P": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 6P Build/OPP3.170518.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 6P Build/OPP3.170518.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36", | ||
"viewport": { | ||
@@ -1313,3 +1313,3 @@ "width": 412, | ||
"Nexus 6P landscape": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 6P Build/OPP3.170518.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 6P Build/OPP3.170518.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36", | ||
"viewport": { | ||
@@ -1325,3 +1325,3 @@ "width": 732, | ||
"Nexus 7": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MOB30X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MOB30X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Safari/537.36", | ||
"viewport": { | ||
@@ -1337,3 +1337,3 @@ "width": 600, | ||
"Nexus 7 landscape": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MOB30X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MOB30X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Safari/537.36", | ||
"viewport": { | ||
@@ -1393,3 +1393,3 @@ "width": 960, | ||
"Pixel 2": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 8.0; Pixel 2 Build/OPD3.170816.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 8.0; Pixel 2 Build/OPD3.170816.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36", | ||
"viewport": { | ||
@@ -1405,3 +1405,3 @@ "width": 411, | ||
"Pixel 2 landscape": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 8.0; Pixel 2 Build/OPD3.170816.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 8.0; Pixel 2 Build/OPD3.170816.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36", | ||
"viewport": { | ||
@@ -1417,3 +1417,3 @@ "width": 731, | ||
"Pixel 2 XL": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Pixel 2 XL Build/OPD1.170816.004) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Pixel 2 XL Build/OPD1.170816.004) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36", | ||
"viewport": { | ||
@@ -1429,3 +1429,3 @@ "width": 411, | ||
"Pixel 2 XL landscape": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Pixel 2 XL Build/OPD1.170816.004) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 8.0.0; Pixel 2 XL Build/OPD1.170816.004) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36", | ||
"viewport": { | ||
@@ -1441,3 +1441,3 @@ "width": 823, | ||
"Pixel 3": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 9; Pixel 3 Build/PQ1A.181105.017.A1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 9; Pixel 3 Build/PQ1A.181105.017.A1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36", | ||
"viewport": { | ||
@@ -1453,3 +1453,3 @@ "width": 393, | ||
"Pixel 3 landscape": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 9; Pixel 3 Build/PQ1A.181105.017.A1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 9; Pixel 3 Build/PQ1A.181105.017.A1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36", | ||
"viewport": { | ||
@@ -1465,3 +1465,3 @@ "width": 786, | ||
"Pixel 4": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36", | ||
"viewport": { | ||
@@ -1477,3 +1477,3 @@ "width": 353, | ||
"Pixel 4 landscape": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36", | ||
"viewport": { | ||
@@ -1489,3 +1489,3 @@ "width": 745, | ||
"Pixel 4a (5G)": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36", | ||
"screen": { | ||
@@ -1505,3 +1505,3 @@ "width": 412, | ||
"Pixel 4a (5G) landscape": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 4a (5G)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36", | ||
"screen": { | ||
@@ -1521,3 +1521,3 @@ "height": 892, | ||
"Pixel 5": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36", | ||
"screen": { | ||
@@ -1537,3 +1537,3 @@ "width": 393, | ||
"Pixel 5 landscape": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 11; Pixel 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36", | ||
"screen": { | ||
@@ -1553,3 +1553,3 @@ "width": 851, | ||
"Pixel 7": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 14; Pixel 7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 14; Pixel 7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36", | ||
"screen": { | ||
@@ -1569,3 +1569,3 @@ "width": 412, | ||
"Pixel 7 landscape": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 14; Pixel 7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 14; Pixel 7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36", | ||
"screen": { | ||
@@ -1585,3 +1585,3 @@ "width": 915, | ||
"Moto G4": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36", | ||
"viewport": { | ||
@@ -1597,3 +1597,3 @@ "width": 360, | ||
"Moto G4 landscape": { | ||
"userAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Mobile Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Linux; Android 7.0; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Mobile Safari/537.36", | ||
"viewport": { | ||
@@ -1609,3 +1609,3 @@ "width": 640, | ||
"Desktop Chrome HiDPI": { | ||
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Safari/537.36", | ||
"screen": { | ||
@@ -1625,3 +1625,3 @@ "width": 1792, | ||
"Desktop Edge HiDPI": { | ||
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Safari/537.36 Edg/131.0.6778.3", | ||
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Safari/537.36 Edg/131.0.6778.13", | ||
"screen": { | ||
@@ -1671,3 +1671,3 @@ "width": 1792, | ||
"Desktop Chrome": { | ||
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Safari/537.36", | ||
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Safari/537.36", | ||
"screen": { | ||
@@ -1687,3 +1687,3 @@ "width": 1920, | ||
"Desktop Edge": { | ||
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.3 Safari/537.36 Edg/131.0.6778.3", | ||
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.13 Safari/537.36 Edg/131.0.6778.13", | ||
"screen": { | ||
@@ -1690,0 +1690,0 @@ "width": 1920, |
@@ -58,2 +58,3 @@ "use strict"; | ||
constructor(codegenMode, context, params) { | ||
this.handleSIGINT = void 0; | ||
this._context = void 0; | ||
@@ -74,2 +75,3 @@ this._mode = void 0; | ||
this._mode = params.mode || 'none'; | ||
this.handleSIGINT = params.handleSIGINT; | ||
this._contextRecorder = new _contextRecorder.ContextRecorder(codegenMode, context, params, {}); | ||
@@ -76,0 +78,0 @@ this._context = context; |
@@ -122,3 +122,3 @@ "use strict"; | ||
useWebSocket: (0, _utils.isUnderTest)(), | ||
handleSIGINT: false, | ||
handleSIGINT: recorder.handleSIGINT, | ||
executablePath: inspectedContext._browser.options.isChromium ? inspectedContext._browser.options.customExecutablePath : undefined | ||
@@ -125,0 +125,0 @@ } |
@@ -97,3 +97,8 @@ "use strict"; | ||
for (const reporter of options.reporter || []) params.append('reporter', reporter); | ||
const urlPath = `./trace/${options.webApp || 'index.html'}?${params.toString()}`; | ||
let baseUrl = ''; | ||
if (process.env.PW_HMR === '1') { | ||
params.set('testServerPort', '' + server.port()); | ||
baseUrl = 'http://localhost:44223'; // port is hardcoded in build.js | ||
} | ||
const urlPath = `${baseUrl}/trace/${options.webApp || 'index.html'}?${params.toString()}`; | ||
server.routePath('/', (_, response) => { | ||
@@ -100,0 +105,0 @@ response.statusCode = 302; |
@@ -178,7 +178,17 @@ "use strict"; | ||
if (part.name === 'internal:control' && part.body === 'enter-frame') { | ||
tokens.push([factory.generateLocator(base, 'frame', '')]); | ||
// transform last tokens from `${selector}` into `${selector}.contentFrame()` and `frameLocator(${selector})` | ||
const lastTokens = tokens[tokens.length - 1]; | ||
const lastPart = parts[index - 1]; | ||
const transformed = lastTokens.map(token => factory.chainLocators([token, factory.generateLocator(base, 'frame', '')])); | ||
if (['xpath', 'css'].includes(lastPart.name)) { | ||
transformed.push(factory.generateLocator(base, 'frame-locator', (0, _selectorParser.stringifySelector)({ | ||
parts: [lastPart] | ||
})), factory.generateLocator(base, 'frame-locator', (0, _selectorParser.stringifySelector)({ | ||
parts: [lastPart] | ||
}, true))); | ||
} | ||
lastTokens.splice(0, lastTokens.length, ...transformed); | ||
nextBase = 'frame-locator'; | ||
continue; | ||
} | ||
const locatorType = 'default'; | ||
const nextPart = parts[index + 1]; | ||
@@ -188,4 +198,4 @@ const selectorPart = (0, _selectorParser.stringifySelector)({ | ||
}); | ||
const locatorPart = factory.generateLocator(base, locatorType, selectorPart); | ||
if (locatorType === 'default' && nextPart && ['internal:has-text', 'internal:has-not-text'].includes(nextPart.name)) { | ||
const locatorPart = factory.generateLocator(base, 'default', selectorPart); | ||
if (nextPart && ['internal:has-text', 'internal:has-not-text'].includes(nextPart.name)) { | ||
const { | ||
@@ -218,3 +228,3 @@ exact, | ||
}, /* forceEngineName */true); | ||
locatorPartWithEngine = factory.generateLocator(base, locatorType, selectorPart); | ||
locatorPartWithEngine = factory.generateLocator(base, 'default', selectorPart); | ||
} | ||
@@ -273,2 +283,4 @@ tokens.push([locatorPart, locatorPartWithEngine].filter(Boolean)); | ||
return `locator(${this.quote(body)})`; | ||
case 'frame-locator': | ||
return `frameLocator(${this.quote(body)})`; | ||
case 'frame': | ||
@@ -357,2 +369,4 @@ return `contentFrame()`; | ||
return `locator(${this.quote(body)})`; | ||
case 'frame-locator': | ||
return `frame_locator(${this.quote(body)})`; | ||
case 'frame': | ||
@@ -458,2 +472,4 @@ return `content_frame`; | ||
return `locator(${this.quote(body)})`; | ||
case 'frame-locator': | ||
return `frameLocator(${this.quote(body)})`; | ||
case 'frame': | ||
@@ -543,2 +559,4 @@ return `contentFrame()`; | ||
return `Locator(${this.quote(body)})`; | ||
case 'frame-locator': | ||
return `FrameLocator(${this.quote(body)})`; | ||
case 'frame': | ||
@@ -545,0 +563,0 @@ return `ContentFrame`; |
{ | ||
"name": "playwright-core", | ||
"version": "1.49.0-alpha-2024-10-24", | ||
"version": "1.49.0-alpha-2024-10-25", | ||
"description": "A high-level API to automate web browsers", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
7817916
108066
189