Fix delete_all_cookies documentation

This function (like the others) returns a promise.
We should make that explicit in the docs.

Bug: 1233305
Change-Id: I90deeb13988267dc2b6069a22e44de82e8b09015
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3140046
Auto-Submit: Ari Chivukula <arichiv@chromium.org>
Reviewed-by: Steven Bingler <bingler@chromium.org>
Commit-Queue: Ari Chivukula <arichiv@chromium.org>
Cr-Commit-Position: refs/heads/main@{#917770}
diff --git a/docs/writing-tests/testdriver.md b/docs/writing-tests/testdriver.md
index d8fa266..71b49a9 100644
--- a/docs/writing-tests/testdriver.md
+++ b/docs/writing-tests/testdriver.md
@@ -128,9 +128,10 @@
 
 Usage: `test_driver.delete_all_cookies(context=null)`
  * _context_: an optional WindowProxy for the browsing context in which to
-              perform the call.
+              perform the call. Defaults to the current browsing context.
 
-This function deletes all cookies for the current browsing context.
+This function returns a promise that resolves after all the cookies have
+been deleted from the provided browsing context.
 
 ### send_keys