Files
DefinitelyTyped/selenium-webdriver/executors.d.ts
2014-12-13 01:25:40 -05:00

14 lines
522 B
TypeScript

declare module executors {
/**
* Creates a command executor that uses WebDriver's JSON wire protocol.
* @param url The server's URL, or a promise that will resolve to that URL.
* @returns {!webdriver.CommandExecutor} The new command executor.
*/
function createExecutor(url: string): webdriver.CommandExecutor;
function createExecutor(url: webdriver.promise.Promise<string>): webdriver.CommandExecutor;
}
declare module 'selenium-webdriver/executors' {
export = executors;
}