mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
fix api
This commit is contained in:
parent
ac0134ede5
commit
7281a522e5
@ -654,5 +654,4 @@ If there's already a header with name `name`, the header gets overwritten.
|
||||
[Request]: https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#class-request "Request"
|
||||
[Browser]: https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#class-browser "Browser"
|
||||
[Body]: https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#class-body "Body"
|
||||
[stream.Readable]: https://nodejs.org/api/stream.html#stream_class_stream_readable
|
||||
[Keyboard]: https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#class-keyboard "Keyboard"
|
||||
|
@ -129,6 +129,9 @@ function codeForKey(key) {
|
||||
}
|
||||
|
||||
class Keyboard {
|
||||
/**
|
||||
* @param {!Connection} client
|
||||
*/
|
||||
constructor(client) {
|
||||
this._client = client;
|
||||
/** @type {!Map<string, boolean>} */
|
||||
|
@ -365,7 +365,6 @@ class WebPage {
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {string} eventType
|
||||
* @param {string} keyOrKeys
|
||||
* @param {null} nop1
|
||||
|
Loading…
Reference in New Issue
Block a user