mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
start url is optional, despite documentation
This commit is contained in:
Vendored
+1
-1
@@ -59,7 +59,7 @@ interface Casper {
|
||||
run(onComplete: Function, time?: number);
|
||||
sendKeys(selector: string, keys: string, options?: any);
|
||||
setHttpAuth(username: string, password: string);
|
||||
start(url: string, then?: (response: HttpResponse) => void): Casper;
|
||||
start(url?: string, then?: (response: HttpResponse) => void): Casper;
|
||||
status(asString: bool): any;
|
||||
then(fn: (self?: Casper) => void);
|
||||
thenClick(selector: string);
|
||||
|
||||
Reference in New Issue
Block a user