From 4f5cad921e1a2b0945ffb6bf609c0d376ef609cc Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Fri, 4 Aug 2017 01:12:18 -0700 Subject: [PATCH] [doc] Remove mention of broken javascript dialogs from api.md (#210) --- docs/api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api.md b/docs/api.md index 7528abd17ca..a7fa5f8466c 100644 --- a/docs/api.md +++ b/docs/api.md @@ -822,6 +822,8 @@ await page.tracing.stop(); - `screenshots` <[boolean]> captures screenshots in the trace. - returns: <[Promise]> +Only one trace can be active at a time per browser. + #### tracing.stop() - returns: <[Promise]> @@ -843,8 +845,6 @@ browser.newPage().then(async page => { }); ``` -> **NOTE** Chrome Headless currently has issues with managing JavaScript dialogs, see [issue 13](https://github.com/GoogleChrome/puppeteer/issues/13) - #### dialog.accept([promptText]) - `promptText` <[string]> A text to enter in prompt. Does not cause any effects if the dialog's `type` is not prompt. - returns: <[Promise]> Promise which resolves when the dialog has being accepted.