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 2de636f commit 6d93643Copy full SHA for 6d93643
playwright/src/main/java/com/microsoft/playwright/impl/APIRequestImpl.java
@@ -66,6 +66,7 @@ public APIRequestContextImpl newContext(NewContextOptions options) {
66
params.add("storageState", storageState);
67
}
68
addToProtocol(params, clientCertificateList);
69
+ // Timeout here is not the command's timeout, but we pass it for consistency.
70
JsonObject result = playwright.sendMessage("newRequest", params, options.timeout).getAsJsonObject();
71
APIRequestContextImpl context = playwright.connection.getExistingObject(result.getAsJsonObject("request").get("guid").getAsString());
72
context.timeoutSettings.setDefaultTimeout(options.timeout);
0 commit comments