@applitools/nlp-web-runner 5.15.0 → 5.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_inline/_chunks/rolldown-runtime-D7D4PA-g.js +1 -1
- package/dist/_inline/assets/{extract-ax-tree-DbK-5fPe.js → extract-ax-tree-BoQlk00-.js} +1 -1
- package/dist/_inline/assets/{recorder-DNoRX6KO.js → recorder-YUoRBu4F.js} +1 -1
- package/dist/_inline/assets/session-replay-CIK-O8Jw.js +143 -0
- package/dist/_inline/nlp-runner/web/index.d.ts +14 -9
- package/dist/_inline/nlp-runner/web/index.js +1 -1
- package/package.json +1 -1
|
@@ -598,13 +598,14 @@ type Superlative = 'smallest' | 'largest' | 'widest' | 'narrowest' | 'tallest' |
|
|
|
598
598
|
type AbsolutePosition = 'inside' | 'center' | 'top' | 'bottom' | 'left' | 'right' | 'topleft' | 'topright' | 'bottomleft' | 'bottomright';
|
|
599
599
|
type RelativePosition = 'near' | 'above' | 'below' | 'leftof' | 'rightof' | 'aboveleftof' | 'aboverightof' | 'belowleftof' | 'belowrightof';
|
|
600
600
|
//#endregion
|
|
601
|
-
//#region dist/_inline/_chunks/node-
|
|
601
|
+
//#region dist/_inline/_chunks/node-beKdbsCl.d.ts
|
|
602
602
|
//#region src/automator.d.ts
|
|
603
|
+
type StabilizationStage = 'basic' | 'strict' | 'paranoid';
|
|
603
604
|
interface Automator {
|
|
604
605
|
readonly type: 'web' | 'mobile';
|
|
605
606
|
readonly blocked: boolean;
|
|
606
607
|
captureScreenshot(): Promise<string>;
|
|
607
|
-
stabilize(stage:
|
|
608
|
+
stabilize(stage: StabilizationStage, options?: {
|
|
608
609
|
signal?: AbortSignal;
|
|
609
610
|
timeout?: number;
|
|
610
611
|
}): Promise<void>;
|
|
@@ -836,7 +837,7 @@ declare class Rectangle {
|
|
|
836
837
|
//#region src/patterns.d.ts
|
|
837
838
|
type Match = (text: string) => string | null;
|
|
838
839
|
//#endregion
|
|
839
|
-
//#region dist/_inline/_chunks/script-
|
|
840
|
+
//#region dist/_inline/_chunks/script-B1ht6Y4N.d.ts
|
|
840
841
|
//#region src/port.d.ts
|
|
841
842
|
interface PortMessageEvent<TName extends string = string, TPayload = unknown> extends Event {
|
|
842
843
|
readonly name: TName;
|
|
@@ -1445,7 +1446,7 @@ declare class Browser extends EventTargetNode<BrowserEventMap> implements Automa
|
|
|
1445
1446
|
}: BrowserOptions);
|
|
1446
1447
|
targets(): Generator<Target, void, unknown>;
|
|
1447
1448
|
pages(): Generator<Target, void, unknown>;
|
|
1448
|
-
stabilize(stage:
|
|
1449
|
+
stabilize(stage: StabilizationStage, {
|
|
1449
1450
|
signal,
|
|
1450
1451
|
timeout
|
|
1451
1452
|
}?: {
|
|
@@ -8304,7 +8305,7 @@ interface AXNodeFlat<TNode> {
|
|
|
8304
8305
|
};
|
|
8305
8306
|
style?: AXStyle;
|
|
8306
8307
|
scrollable?: 'horizontal' | 'vertical' | 'both';
|
|
8307
|
-
role?:
|
|
8308
|
+
role?: AXRole;
|
|
8308
8309
|
collect?: boolean;
|
|
8309
8310
|
children: number[];
|
|
8310
8311
|
debugLog?: {
|
|
@@ -8312,6 +8313,7 @@ interface AXNodeFlat<TNode> {
|
|
|
8312
8313
|
id: string;
|
|
8313
8314
|
};
|
|
8314
8315
|
}
|
|
8316
|
+
type AXRole = 'close' | 'submit' | 'cancel';
|
|
8315
8317
|
interface AXOption {
|
|
8316
8318
|
value: string;
|
|
8317
8319
|
label?: string;
|
|
@@ -8368,6 +8370,7 @@ type AXNodeViewJSON = {
|
|
|
8368
8370
|
} | undefined;
|
|
8369
8371
|
elevation: number;
|
|
8370
8372
|
scrollable: ElementScrollDirection | undefined;
|
|
8373
|
+
role: AXRole | undefined;
|
|
8371
8374
|
children: AXNodeViewJSON[];
|
|
8372
8375
|
debugLog?: {
|
|
8373
8376
|
xpath: string;
|
|
@@ -8428,7 +8431,7 @@ interface IAXNodeView<TNode = unknown> extends EventTarget<AXNodeEventMap> {
|
|
|
8428
8431
|
readonly visibleBorderRect: Rectangle;
|
|
8429
8432
|
readonly contentRect: Rectangle;
|
|
8430
8433
|
readonly scrollable: ElementScrollDirection | undefined;
|
|
8431
|
-
readonly role:
|
|
8434
|
+
readonly role: AXRole | undefined;
|
|
8432
8435
|
readonly rects: {
|
|
8433
8436
|
border: Rectangle | undefined;
|
|
8434
8437
|
content: Rectangle | undefined;
|
|
@@ -8892,7 +8895,7 @@ declare class Device implements Automator {
|
|
|
8892
8895
|
constructor({
|
|
8893
8896
|
connection
|
|
8894
8897
|
}: DeviceOptions);
|
|
8895
|
-
stabilize(_stage:
|
|
8898
|
+
stabilize(_stage: StabilizationStage, _options?: {
|
|
8896
8899
|
signal?: AbortSignal;
|
|
8897
8900
|
timeout?: number;
|
|
8898
8901
|
}): Promise<void>;
|
|
@@ -9439,7 +9442,7 @@ declare abstract class Handler$1<TAutomator extends Automator, TInstruction exte
|
|
|
9439
9442
|
throwIfCannotTypeToElement(element: Node | null): Promise<void>;
|
|
9440
9443
|
abstract handle(): Promise<TSuccessResult | TErrorResult>;
|
|
9441
9444
|
run(): Promise<RunResult$1<TSuccessResult | TErrorResult | FlushedResult | AbortedResult | SkippedResult>>;
|
|
9442
|
-
stabilize(stage?:
|
|
9445
|
+
stabilize(stage?: StabilizationStage): Promise<void>;
|
|
9443
9446
|
evaluate<TValue>(value: TValue): Promise<EvaluatedExpression<TValue>>;
|
|
9444
9447
|
element(descriptor: ResolvedElementDescriptor): Promise<{
|
|
9445
9448
|
web: IAXNodeView<WebNode> | null;
|
|
@@ -10318,6 +10321,8 @@ type InstructionMetrics = {
|
|
|
10318
10321
|
axNodeCount?: number;
|
|
10319
10322
|
findElementMs?: number;
|
|
10320
10323
|
describeMs?: number;
|
|
10324
|
+
revealMs?: number;
|
|
10325
|
+
captureMs?: number;
|
|
10321
10326
|
};
|
|
10322
10327
|
type SubinstructionExecutionFinishedDetails = {
|
|
10323
10328
|
type: 'subinstructionExecutionFinished';
|
|
@@ -10952,4 +10957,4 @@ declare class HttpRemoteAXProvider extends RemoteAXProvider {
|
|
|
10952
10957
|
protected _rqFindAXNode<TNode>(nodes: IAXNodeView<TNode>[], descriptor: ResolvedElementDescriptor, options?: FindCandidatesOptions): Promise<CandidateMetricResponse | null>;
|
|
10953
10958
|
}
|
|
10954
10959
|
//#endregion
|
|
10955
|
-
export { type AXContentType, type AXControlType, type AXNodeFlat, type AXOption, type AXProvider, AXServerFetch, AXServerRequest, type AXState, type AXStructuralType, type AXStyle, type AXTreeFlat, type AXType, AbortError, type AnchorDescriptor, Automator, AutomatorError, BlockingDialog, BodyConsumedError, Browser, BrowserActivePageChangedEvent, BrowserDisconnectedEvent, BrowserPageClosedEvent, BrowserPageCreatedEvent, BrowserPageNavigatedEvent, BrowserStabilizingLoadEvent, BrowserStabilizingNavigationEvent, BrowserStabilizingOutgoingRequestsEvent, BrowserTargetCrashedEvent, BrowserTargetCreatedEvent, BrowserWindowCreatedEvent, CallableRemoteFunctionHandle, CandidateMetricResponse, CommandTimedOutError, Connection, Cookie, type CustomActions, Debugger, DebuggerPausedEvent, DebuggerResumedEvent, DescribeAXNodeResponse, type DescriptorStrategy, DialogHandledEvent, type ElementDescriptor, type ElementDescriptorQuery, EvaluationArguments, EvaluationExpression, EvaluationFunction, EvaluationOptions, EvaluationResult, Evaluator, EvaluatorDestroyedEvent, EvaluatorLogEvent, Expression, FilepickerDialog, FlagChangedEvent, Flags, FlagsSnapshot, FlushError, Frame, FrameDestroyedEvent, FrameDocumentRequestEvent, FrameDocumentResponseEvent, FrameEvaluatorAttached, FrameFetchError, FrameFetchOptions, FrameLifecycleEvent, FrameNavigatedEvent, FrameNavigatingEvent, FrameSwappedEvent, FrameSwappingEvent, type Har, HarRecorder, HarRecorderOptions, HarRecorderStatsChangedEvent, HarStats, HttpRemoteAXProvider, HttpRemoteAXProviderOptions, type IAXNodeView, type IAXTreeView, Injection, InjectionEvaluatorAttachedEvent, InjectionExpression, InjectionIncommingMessageEvent, InjectionOutgoingMessageEvent, InjectionTargetAttachedEvent, Intercepted, InterceptedRequest, InterceptedResponse, InterceptionHandler, InterceptionPattern, InterceptionPatternMatcher, Keyboard, Loader, LoaderRequestEvent, LoaderResponseEvent, LocalizedRemoteValue, type LoopHandle, MakeAXTreeResponse, Mouse, NavigationFailedError, NavigationTimedOutError, NoHistoryEntryError, Node, type NodeBackground, Port, PortIncommingMessageEvent, type PortMessageEvent, PortOutgoingMessageEvent, RemoteAXProvider, RemoteFunctionHandle, RemoteObjectHandle, type Request, type ResolvedAnchor, type ResolvedElementDescriptor, ResolvedRemoteValue, type Response$1 as Response, RunOptions, RunResult, Runner, RunnerAXNodeFoundEvent, type RunnerContext, RunnerFilepickerDialogRequestedEvent, RunnerOptions, RunnerStatusChangedEvent, Script, type SelectorElementDescriptor, StaleNodeError, StaleRemoteObjectHandleError, StylesheetHandle, Target, TargetActivatedEvent, TargetActivatingEvent, TargetAttachedEvent, TargetChangedEvent, TargetChildTargetCreatingEvent, TargetClosedEvent, TargetDetachedEvent, TargetDialogEvent, TargetElementSelectedEvent, TargetFilepickerDialogEvent, TargetFrameAttachedEvent, TargetFrameTargetCreatedEvent, TargetMainFrameReadyEvent, TargetNavigatedEvent, TargetVisibilityChangeEvent, type UsedValues, WebNode, Window, WindowDestroyedEvent, WindowTargetAttachedEvent, WindowTargetDetachedEvent, flags, isElementAcceptableInvisible, localizeRemoteValue, makeBlockingDialog, makeBrowser, makeBundledExpression, makeBundledScript, makeConnection, makeDebugger, makeEvaluator, makeExpression, makeFilepickerDialog, makeFrame, makeInjection, makeIntercepted, makeInterceptedRequest, makeInterceptedResponse, makeInterceptionPatternMatcher, makeKeyboard, makeLoader, makeMouse, makePort, makeRunner, makeScript, makeTarget, makeWebNode, makeWindow, provideRolldownConfig, index_d_exports as spec, toCDPPattern };
|
|
10960
|
+
export { type AXContentType, type AXControlType, type AXNodeFlat, type AXOption, type AXProvider, AXServerFetch, AXServerRequest, type AXState, type AXStructuralType, type AXStyle, type AXTreeFlat, type AXType, AbortError, type AnchorDescriptor, Automator, AutomatorError, BlockingDialog, BodyConsumedError, Browser, BrowserActivePageChangedEvent, BrowserDisconnectedEvent, BrowserPageClosedEvent, BrowserPageCreatedEvent, BrowserPageNavigatedEvent, BrowserStabilizingLoadEvent, BrowserStabilizingNavigationEvent, BrowserStabilizingOutgoingRequestsEvent, BrowserTargetCrashedEvent, BrowserTargetCreatedEvent, BrowserWindowCreatedEvent, CallableRemoteFunctionHandle, CandidateMetricResponse, CommandTimedOutError, Connection, Cookie, type CustomActions, Debugger, DebuggerPausedEvent, DebuggerResumedEvent, DescribeAXNodeResponse, type DescriptorStrategy, DialogHandledEvent, type ElementDescriptor, type ElementDescriptorQuery, EvaluationArguments, EvaluationExpression, EvaluationFunction, EvaluationOptions, EvaluationResult, Evaluator, EvaluatorDestroyedEvent, EvaluatorLogEvent, Expression, FilepickerDialog, FlagChangedEvent, Flags, FlagsSnapshot, FlushError, Frame, FrameDestroyedEvent, FrameDocumentRequestEvent, FrameDocumentResponseEvent, FrameEvaluatorAttached, FrameFetchError, FrameFetchOptions, FrameLifecycleEvent, FrameNavigatedEvent, FrameNavigatingEvent, FrameSwappedEvent, FrameSwappingEvent, type Har, HarRecorder, HarRecorderOptions, HarRecorderStatsChangedEvent, HarStats, HttpRemoteAXProvider, HttpRemoteAXProviderOptions, type IAXNodeView, type IAXTreeView, Injection, InjectionEvaluatorAttachedEvent, InjectionExpression, InjectionIncommingMessageEvent, InjectionOutgoingMessageEvent, InjectionTargetAttachedEvent, Intercepted, InterceptedRequest, InterceptedResponse, InterceptionHandler, InterceptionPattern, InterceptionPatternMatcher, Keyboard, Loader, LoaderRequestEvent, LoaderResponseEvent, LocalizedRemoteValue, type LoopHandle, MakeAXTreeResponse, Mouse, NavigationFailedError, NavigationTimedOutError, NoHistoryEntryError, Node, type NodeBackground, Port, PortIncommingMessageEvent, type PortMessageEvent, PortOutgoingMessageEvent, RemoteAXProvider, RemoteFunctionHandle, RemoteObjectHandle, type Request, type ResolvedAnchor, type ResolvedElementDescriptor, ResolvedRemoteValue, type Response$1 as Response, RunOptions, RunResult, Runner, RunnerAXNodeFoundEvent, type RunnerContext, RunnerFilepickerDialogRequestedEvent, RunnerOptions, RunnerStatusChangedEvent, Script, type SelectorElementDescriptor, StabilizationStage, StaleNodeError, StaleRemoteObjectHandleError, StylesheetHandle, Target, TargetActivatedEvent, TargetActivatingEvent, TargetAttachedEvent, TargetChangedEvent, TargetChildTargetCreatingEvent, TargetClosedEvent, TargetDetachedEvent, TargetDialogEvent, TargetElementSelectedEvent, TargetFilepickerDialogEvent, TargetFrameAttachedEvent, TargetFrameTargetCreatedEvent, TargetMainFrameReadyEvent, TargetNavigatedEvent, TargetVisibilityChangeEvent, type UsedValues, WebNode, Window, WindowDestroyedEvent, WindowTargetAttachedEvent, WindowTargetDetachedEvent, flags, isElementAcceptableInvisible, localizeRemoteValue, makeBlockingDialog, makeBrowser, makeBundledExpression, makeBundledScript, makeConnection, makeDebugger, makeEvaluator, makeExpression, makeFilepickerDialog, makeFrame, makeInjection, makeIntercepted, makeInterceptedRequest, makeInterceptedResponse, makeInterceptionPatternMatcher, makeKeyboard, makeLoader, makeMouse, makePort, makeRunner, makeScript, makeTarget, makeWebNode, makeWindow, provideRolldownConfig, index_d_exports as spec, toCDPPattern };
|