@angular/benchpress
Version:
Benchpress - a framework for e2e performance tests
25 lines (24 loc) • 788 B
TypeScript
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import { StaticProvider } from '@angular/core';
import { WebDriverAdapter } from '../web_driver_adapter';
/**
* Adapter for the selenium-webdriver.
*/
export declare class SeleniumWebDriverAdapter extends WebDriverAdapter {
private _driver;
static PROTRACTOR_PROVIDERS: StaticProvider[];
constructor(_driver: any);
waitFor(callback: () => any): Promise<any>;
executeScript(script: string): Promise<any>;
executeAsyncScript(script: string): Promise<any>;
capabilities(): Promise<{
[key: string]: any;
}>;
logs(type: string): Promise<any>;
}