mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-21 05:20:24 +08:00
14 lines
522 B
TypeScript
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;
|
|
}
|