@theia-extension-tester/base-authenticator
v0.1.1
Published
Authentication protocol for theia-extension-tester.
Downloads
4
Readme
base-authenticator
An authenticator interface for authenticator objects. Authenticator objects are responsible for logging in user into Eclipse Che. Used by theia-extension-tester.
Usage
Install via npm
npm install @theia-extension-tester/base-authenticator
Install via yarn
yarn add @theia-extension-tester/base-authenticator
import { Authenticator } from "@theia-extension-tester/base-authenticator";
import { SeleniumBrowser } from "extension-tester-page-objects";
class CheAuthenticator implements Authenticator {
async authenticate() : Promise<void> {
const driver = SeleniumBrowser.instance.driver;
// ... log in user using SeleniumWebDriver
}
}