UNPKG

479 BTypeScriptView Raw
1import { NightwatchBrowser, globalElement, Ensure } from './index';
2import { By as seleniumBy, locateWith as seleniumLocateWith } from 'selenium-webdriver';
3import { expect as chaiExpect } from 'chai';
4
5declare global {
6 const browser: NightwatchBrowser;
7 const element: typeof globalElement;
8 const by: typeof seleniumBy;
9 const By: typeof seleniumBy;
10 const ensure: Ensure;
11 const expect: typeof chaiExpect;
12 const locateWith: typeof seleniumLocateWith;
13}