webdriverio
Version:
Next-gen browser and mobile automation test framework for Node.js
11 lines • 718 B
TypeScript
/**
* What `browser.url()` returns in a WebDriver Classic session, e.g. with
* Appium or Safari. There are no held browsing contexts, only the session's
* current one, so this is the browser: `$`, `execute`, `getTitle` and every
* other shared command run on it. `url`, `isFrame`, `parent` and `browser`
* describe that current context. Like on a BiDi context, `url` is the URL
* it was navigated to, until `getUrl()` reads the current one. The BiDi-only commands reject with an
* error that names the Classic alternative, instead of being undefined.
*/
export declare function classicContext(browser: WebdriverIO.Browser, url: string): WebdriverIO.BrowsingContext;
//# sourceMappingURL=classicContext.d.ts.map