From ec69c8517926028741fe27990ebe81ec8c8695e3 Mon Sep 17 00:00:00 2001 From: Jed Hunsaker Date: Sat, 16 Feb 2013 11:44:22 -0800 Subject: [PATCH] start url is optional, despite documentation --- casperjs/casperjs.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/casperjs/casperjs.d.ts b/casperjs/casperjs.d.ts index e097a681e..9bf4485a5 100644 --- a/casperjs/casperjs.d.ts +++ b/casperjs/casperjs.d.ts @@ -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);