Correction

This commit is contained in:
Bleser
2018-03-20 16:09:10 +05:00
parent 5e48bc7dcd
commit 96b71e75cd
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ declare class Nightmare {
html(path: string, saveType: 'MHTML'): Nightmare;
pdf(path: string): Nightmare;
pdf(path: string, options: Object): Nightmare;
pdf(cd:(err:Error, data:Buffer)=>void): Nightmare;
pdf(cb: (err: Error, data: Buffer) => void): Nightmare;
title(): string;
title(cb: (title: string) => void): Nightmare;
url(cb: (url: string) => void): Nightmare;
-1
View File
@@ -196,7 +196,6 @@ new Nightmare()
})
.run(done)
new Nightmare()
.goto('http://www.google.com/')
.wait('input')