mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
- splitting apart test files - fix single and double quotes for consistency - replace " for ' - updated ActionSequence sendKeys (https://github.com/SeleniumHQ/selenium/blob/master/javascript/node/selenium-webdriver/lib/actions.js#L368) - updated WebElement sendKeys (https://github.com/SeleniumHQ/selenium/blob/master/javascript/node/selenium-webdriver/lib/webdriver.js#L2056)
16 lines
623 B
TypeScript
16 lines
623 B
TypeScript
import * as webdriver from './index';
|
|
|
|
declare namespace executors {
|
|
/**
|
|
* Creates a command executor that uses WebDriver's JSON wire protocol.
|
|
* @param {(string|!promise.Promise<string>)} url The server's URL,
|
|
* or a promise that will resolve to that URL.
|
|
* @param {?string=} opt_proxy (optional) The URL of the HTTP proxy for the
|
|
* client to use.
|
|
* @returns {!./lib/command.Executor} The new command executor.
|
|
*/
|
|
function createExecutor(url: string | webdriver.promise.Promise<string>, opt_agent?: string, opt_proxy?: string): webdriver.Executor;
|
|
}
|
|
|
|
export = executors;
|