We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b824698 commit 9cd6607Copy full SHA for 9cd6607
lib/src/bridge/cdp_driver.dart
@@ -106,7 +106,8 @@ class CdpDriver implements AppDriver {
106
try {
107
final client = HttpClient()..connectionTimeout = const Duration(seconds: 2);
108
final encodedUrl = Uri.encodeComponent(_url);
109
- final request = await client.getUrl(Uri.parse('http://127.0.0.1:$_port/json/new?$encodedUrl'));
+ // Chrome 145+ requires PUT for /json/new
110
+ final request = await client.openUrl('PUT', Uri.parse('http://127.0.0.1:$_port/json/new?$encodedUrl'));
111
final response = await request.close();
112
final body = await response.transform(utf8.decoder).join();
113
client.close();
0 commit comments