Skip to content

Commit 13e1e57

Browse files
Fix typo
1 parent 2e3d51f commit 13e1e57

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/appium-driver.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export declare class AppiumDriver {
118118
sessionId(): Promise<any>;
119119
compareScreen(imageName: string, timeOutSeconds?: number, tollerance?: number): Promise<boolean>;
120120
takeScreenshot(fileName: string): Promise<string>;
121-
logScreenshoot(fileName: string): Promise<string>;
121+
logScreenshot(fileName: string): Promise<string>;
122122
static createAppiumDriver(port: number, args: INsCapabilities): Promise<AppiumDriver>;
123123
resetApp(): Promise<void>;
124124
inint(): Promise<void>;

lib/appium-driver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ export class AppiumDriver {
319319
});
320320
}
321321

322-
public async logScreenshoot(fileName: string) {
322+
public async logScreenshot(fileName: string) {
323323
if (!this._logPath && !fileExists(fileName)) {
324324
this._logPath = getReportPath(this._args);
325325
}

0 commit comments

Comments
 (0)