mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-03 11:41:44 +00:00
updated the return type of page.select, to match docs
updated the return type of page.select, to match docs at puppeteer link to puppeteer https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#pageselectselector-values
This commit is contained in:
Vendored
+1
-1
@@ -968,7 +968,7 @@ export interface Page extends EventEmitter, FrameBase {
|
||||
* @param values Values of options to select. If the `<select>` has the `multiple` attribute,
|
||||
* all values are considered, otherwise only the first one is taken into account.
|
||||
*/
|
||||
select(selector: string, ...values: string[]): Promise<void>;
|
||||
select(selector: string, ...values: string[]): Promise<Array<string>>;
|
||||
|
||||
/**
|
||||
* Sets the page content.
|
||||
|
||||
Reference in New Issue
Block a user