UNPKG

blue-harvest

Version:
19 lines (18 loc) 487 B
/** * 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; }