blue-harvest
Version:
protractor helpers
19 lines (18 loc) • 487 B
TypeScript
/**
* Interface for positional locators used to find elements under, left of,
* right of, or inside other elements.
*/
import { Locator } from 'protractor';
export declare type FlexibleLocator = string | RegExp | Locator;
export declare enum Position {
GLOBAL = "global",
RIGHTOF = "rightOf",
LEFTOF = "leftOf",
BELOW = "below",
UNDER = "under",
INSIDE = "inside",
}
export interface PositionalLocator {
locator: FlexibleLocator;
position: Position;
}