Skip to content

Commit 6d93643

Browse files
committed
comment
1 parent 2de636f commit 6d93643

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

playwright/src/main/java/com/microsoft/playwright/impl/APIRequestImpl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ public APIRequestContextImpl newContext(NewContextOptions options) {
6666
params.add("storageState", storageState);
6767
}
6868
addToProtocol(params, clientCertificateList);
69+
// Timeout here is not the command's timeout, but we pass it for consistency.
6970
JsonObject result = playwright.sendMessage("newRequest", params, options.timeout).getAsJsonObject();
7071
APIRequestContextImpl context = playwright.connection.getExistingObject(result.getAsJsonObject("request").get("guid").getAsString());
7172
context.timeoutSettings.setDefaultTimeout(options.timeout);

0 commit comments

Comments
 (0)