devtools
Version:
A Chrome DevTools protocol binding that maps WebDriver commands into Chrome DevTools commands using Puppeteer
10 lines • 510 B
TypeScript
import type DevToolsDriver from '../devtoolsdriver.js';
/**
* Get Active Element returns the active element of the current browsing context’s document element.
*
* @param browser.getActiveElement
* @see https://w3c.github.io/webdriver/#dfn-get-active-element
* @return {Object} A JSON representation of an element object.
*/
export default function getActiveElement(this: DevToolsDriver): Promise<Error | import("@wdio/protocols").ElementReference>;
//# sourceMappingURL=getActiveElement.d.ts.map