[doc] Remove mention of broken javascript dialogs from api.md (#210)
This commit is contained in:
parent
7888a37a3d
commit
4f5cad921e
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user