rename ele to element

This commit is contained in:
zwh8800
2017-11-25 22:43:01 +08:00
parent 9bdb3afa3b
commit aa7f42d55d
+2 -2
View File
@@ -667,7 +667,7 @@ export interface FrameBase {
*/
$eval(
selector: string,
fn: (ele: ElementHandle | null, ...args: any[]) => any,
fn: (element: ElementHandle | null, ...args: any[]) => any,
...args: any[]
): Promise<any>;
@@ -681,7 +681,7 @@ export interface FrameBase {
*/
$$eval(
selector: string,
fn: (eles: ElementHandle[], ...args: any[]) => any,
fn: (elements: ElementHandle[], ...args: any[]) => any,
...args: any[]
): Promise<any>;