Options
All
  • Public
  • Public/Protected
  • All
Menu

hvstr-core API Documentation

Index

Type aliases

Private Awaiter

Awaiter: function

Type declaration

    • (): Promise<void>
    • Returns Promise<void>

ILibraryImport

ILibraryImport: object

Type declaration

  • elements: object[]
  • from: string

IOptionalLogger

IOptionalLogger: Partial<ILogger>

IPageObjectBuilderOptions

IPageObjectBuilderOptions: Required<IPageObjectBuilderInputOptions & object>

This interface equals the IPageObjectBuilderInputOptions interface, except the entities with default values are not optional.

export
interface

IPageObjectBuilderOptions

Variables

Private Const mkdirp

mkdirp: any = require('mkdirp')

Private Const requireFromString

requireFromString: any = require('require-from-string')

Functions

Private ConflictResolver

Private addAddendTree

Private buildConflictTree

Private compilePageObject

  • compilePageObject(tsCode: string): string

Private elementTreeMerge

Private excludeRecursive

Private extendChildrenTreePartitionsRecursive

Private findAndMergeDuplicates

  • findAndMergeDuplicates(tree: E2eElement[], i: number): void

Private findDuplicateIndex

  • findDuplicateIndex(tree: E2eElement[], i: number): number

Private getConflictElementArrayLike

Private getGetterIndexParameterVariableName

  • getGetterIndexParameterVariableName(element: E2eElement): string

Private getParameterNameForElement

  • getParameterNameForElement(id: string): string

Private idWithoutArrayAnnotation

  • idWithoutArrayAnnotation(idResult: string): string

Private initCustomSnippet

Private mergeArrayDuplicateForTreePartition

  • mergeArrayDuplicateForTreePartition(tree: E2eElement[], i: number, arrayDuplicateIndex: number): void

Private mergeDuplicateArrayElements

  • mergeDuplicateArrayElements(tree: E2eElement[]): void

Private requirePageObject

Private restrictAndExcludeElementRecursive

  • restrictAndExcludeElementRecursive(element: E2eElement, excludeElements: string[], restrictToElements: string[]): boolean

Private restrictAndExcludeRecursive

  • restrictAndExcludeRecursive(tree: E2eElement[], excludeElements: string[], restrictToElements: string[]): E2eElement[]

Private restrictor

  • restrictor(tree: E2eElement[], excludeElements?: string[], restrictToElements?: string[]): E2eElement[]

Private setResultAttributes

Private setResultMethodeAttributes

Generated using TypeDoc