@applitools/nlp-web-runner 5.16.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/nlp-runner/web/index.d.ts +10 -7
- 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
|
}?: {
|
|
@@ -8894,7 +8895,7 @@ declare class Device implements Automator {
|
|
|
8894
8895
|
constructor({
|
|
8895
8896
|
connection
|
|
8896
8897
|
}: DeviceOptions);
|
|
8897
|
-
stabilize(_stage:
|
|
8898
|
+
stabilize(_stage: StabilizationStage, _options?: {
|
|
8898
8899
|
signal?: AbortSignal;
|
|
8899
8900
|
timeout?: number;
|
|
8900
8901
|
}): Promise<void>;
|
|
@@ -9441,7 +9442,7 @@ declare abstract class Handler$1<TAutomator extends Automator, TInstruction exte
|
|
|
9441
9442
|
throwIfCannotTypeToElement(element: Node | null): Promise<void>;
|
|
9442
9443
|
abstract handle(): Promise<TSuccessResult | TErrorResult>;
|
|
9443
9444
|
run(): Promise<RunResult$1<TSuccessResult | TErrorResult | FlushedResult | AbortedResult | SkippedResult>>;
|
|
9444
|
-
stabilize(stage?:
|
|
9445
|
+
stabilize(stage?: StabilizationStage): Promise<void>;
|
|
9445
9446
|
evaluate<TValue>(value: TValue): Promise<EvaluatedExpression<TValue>>;
|
|
9446
9447
|
element(descriptor: ResolvedElementDescriptor): Promise<{
|
|
9447
9448
|
web: IAXNodeView<WebNode> | null;
|
|
@@ -10320,6 +10321,8 @@ type InstructionMetrics = {
|
|
|
10320
10321
|
axNodeCount?: number;
|
|
10321
10322
|
findElementMs?: number;
|
|
10322
10323
|
describeMs?: number;
|
|
10324
|
+
revealMs?: number;
|
|
10325
|
+
captureMs?: number;
|
|
10323
10326
|
};
|
|
10324
10327
|
type SubinstructionExecutionFinishedDetails = {
|
|
10325
10328
|
type: 'subinstructionExecutionFinished';
|
|
@@ -10954,4 +10957,4 @@ declare class HttpRemoteAXProvider extends RemoteAXProvider {
|
|
|
10954
10957
|
protected _rqFindAXNode<TNode>(nodes: IAXNodeView<TNode>[], descriptor: ResolvedElementDescriptor, options?: FindCandidatesOptions): Promise<CandidateMetricResponse | null>;
|
|
10955
10958
|
}
|
|
10956
10959
|
//#endregion
|
|
10957
|
-
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 };
|