start url is optional, despite documentation

This commit is contained in:
Jed Hunsaker
2013-02-16 11:44:22 -08:00
parent 33e627ba31
commit ec69c85179
+1 -1
View File
@@ -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);