MCPcopy Create free account

hub / github.com/automician/playright / functions

Functions81 in github.com/automician/playright

↓ 16 callersMethodhandle
()
lib/element.ts:43
↓ 14 callersMethod$
(selector: string)
lib/page.ts:73
↓ 11 callersMethod$$
(selector: string)
lib/page.ts:83
↓ 11 callersMethodcall
(entity: T)
lib/callables.ts:34
↓ 11 callersMethodfor
* TODO: allow accepting as callable a simple fn, * potentially hacked by utils named * same way like queries * @param callable
lib/wait.ts:59
↓ 9 callersMethodpress
* * @param key Name of the key to press or a character to generate, * such as `ArrowLeft` or `a`. * @param options should be like ElementHand
lib/element.ts:175
↓ 9 callersMethodtype
* * @param text * @param options should be like ElementHandleTypeOptions from playwright * but without timeout becuase we have our own waitin
lib/element.ts:125
↓ 8 callersMethodshould
(condition: Condition<Element>)
lib/element.ts:109
↓ 6 callersMethodclick
({ button = 'left', // |"right"|"middle"; clickCount = 1, delay = 0, position = undefined,
lib/element.ts:188
↓ 5 callersMethodfailIfNotActual
( description: string, query: Callable<E, A>, // TODO: what about accepting simple fn here? predic
lib/callables.ts:118
↓ 5 callersMethodgoto
(absoluteOrRelativeUrl: string)
lib/page.ts:62
↓ 5 callersMethodhandles
()
lib/elements.ts:43
↓ 4 callersMethodby
(condition: Condition<Element>)
lib/elements.ts:131
↓ 4 callersMethodmatches
(entity: E)
lib/callables.ts:88
↓ 2 callersFunctionarrayCompareBy
lib/utils.ts:89
↓ 2 callersMethodcachedArray
()
lib/elements.ts:64
↓ 2 callersMethodfailIfNot
( description: string, predicate: (entity: E) => Promise<boolean>, )
lib/callables.ts:107
↓ 2 callersMethodtext
()
lib/element.ts:276
↓ 1 callersMethod$
(selector: string)
lib/element.ts:59
↓ 1 callersMethod$
* * @param index number of element in elements collection starting from 1
lib/elements.ts:81
↓ 1 callersMethodand
(condition: Condition<E>)
lib/callables.ts:80
↓ 1 callersFunctionattribute
(name: string)
lib/queries.ts:54
↓ 1 callersFunctionattributeWithValue
(name: string, value: string)
lib/conditions.ts:66
↓ 1 callersFunctionattributeWithoutValue
(name: string)
lib/conditions.ts:75
↓ 1 callersMethodcall
(entity: E)
lib/callables.ts:72
↓ 1 callersFunctionequalsIgnoringCase
(expected: V)
lib/utils.ts:45
↓ 1 callersMethodfill
* * @param value * @param options should be like ElementHandleFillOptions from playwright * but without timeout becuase we have our own waiti
lib/element.ts:146
↓ 1 callersMethodfirstBy
(condition: Condition<Element>)
lib/elements.ts:104
↓ 1 callersFunctionincludesIgnoringCase
(expected: any)
lib/utils.ts:64
↓ 1 callersFunctionincludesWordIgnoringCase
(expected: string)
lib/utils.ts:76
↓ 1 callersMethodtoString
()
lib/element.ts:282
↓ 1 callersMethodtoString
()
lib/elements.ts:158
↓ 1 callersMethodtoString
()
lib/callables.ts:103
Method$$
(selector: string)
lib/element.ts:73
MethodasPredicate
* Transforms Conditions, i.e. Matchers that return (void | throws Error), * combined by AND * to async Predicate that returns (true | false)
lib/callables.ts:192
MethodatMost
(timeout: number)
lib/wait.ts:45
Functionattribute
(name: string, value?: string)
lib/conditions.ts:83
Methodcached
()
lib/elements.ts:53
Functionclick
( options = {}, // WISH: consider adding option values here too )
lib/commands.ts:40
Methodconstructor
( private readonly find: Locator<driver.ElementHandle<Node>>, // TODO: but should we rename options to
lib/element.ts:32
Methodconstructor
( // TODO: consider accepting WaitOptions object instead entity: T, atMost: number, orFailWith
lib/wait.ts:34
Methodconstructor
( page: playwright.Page, options: Configuration, )
lib/page.ts:53
Methodconstructor
( private readonly find: Locator<playwright.ElementHandle<Node>[]>, private readonly options: Configur
lib/elements.ts:33
Methodconstructor
( private readonly description: string, private readonly fn: Lambda<E, void>, )
lib/callables.ts:64
Methodconstructor
(message = 'condition not matched')
lib/errors/ConditionNotMatchedError.ts:24
MethodcontextClick
()
lib/element.ts:252
Functioncount
(num: number)
lib/conditions.ts:104
FunctioncssClass
(name: string)
lib/conditions.ts:59
MethoddoubleClick
({ button = 'left', // |"right"|"middle"; delay = 0, position = undefined, modifiers = undefin
lib/element.ts:221
Functionelement
(locator: string)
lib/conditions.ts:91
Functionequals
(expected: V, ignoreCase = false)
lib/utils.ts:48
FunctionexactText
(expected: string | number | RegExp)
lib/conditions.ts:50
Methodfirst
()
lib/elements.ts:100
Methodhover
({ position = undefined, modifiers = undefined, // Array<"Alt"|"Control"|"Meta"|"Shift">, force =
lib/element.ts:257
Functionincludes
(expected: any, ignoreCase = false)
lib/utils.ts:67
FunctionincludesWord
(expected: string, ignoreCase = false)
lib/utils.ts:82
FunctionisAbsolute
(relativeOrAbsoluteUrl: string)
lib/utils.ts:36
FunctionisGreaterThan
(expected: V)
lib/utils.ts:52
FunctionisGreaterThanOrEqual
(expected: V)
lib/utils.ts:55
FunctionisLessThan
(expected: V)
lib/utils.ts:58
FunctionisLessThanOrEqual
(expected: V)
lib/utils.ts:61
FunctionisTruthy
(something: V)
lib/utils.ts:42
Functionmatches
(expected: any)
lib/utils.ts:73
Functionnamed
(description: string, fn: F)
lib/utils.ts:28
Methodnot
()
lib/callables.ts:76
Methodor
(condition: Condition<E>)
lib/callables.ts:84
MethodorFailWith
(handler: (error: TimeoutError) => Promise<Error>)
lib/wait.ts:49
Methodparent
()
lib/element.ts:89
Functionpipe
(...fns)
lib/utils.ts:24
Methodpredicate
()
lib/callables.ts:95
Functionpress
(text: string, { delay = 0, noWaitAfter = false } = {})
lib/commands.ts:31
MethodsetValue
(value: string)
lib/element.ts:157
Methodshould
(condition: Condition<Elements>)
lib/elements.ts:153
Functiontext
(expected: string | number | RegExp)
lib/conditions.ts:41
Functiontexts
(...values: string[] | number[])
lib/conditions.ts:97
FunctiontoString
(obj: O)
lib/utils.ts:26
MethodtoString
()
lib/errors/TimeoutError.ts:24
Functiontype
(text: string, { delay = 0, noWaitAfter = false } = {})
lib/commands.ts:36
Methoduntil
(callable: Callable<T, R>)
lib/wait.ts:92
Methodwait
()
lib/element.ts:104
Methodwait
()
lib/elements.ts:47