@applitools/nlp-web-runner 5.4.1-dev.e984fb812 → 5.4.2
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
function Y(c,
|
|
1
|
+
var r=D;(function(O,A){var G=D,p=O();while(!![]){try{var c=parseInt(G(0x1b9))/0x1+parseInt(G(0x1b1))/0x2*(parseInt(G(0x1b4))/0x3)+-parseInt(G(0x1bd))/0x4*(parseInt(G(0x1b7))/0x5)+parseInt(G(0x1b3))/0x6+-parseInt(G(0x1b6))/0x7*(parseInt(G(0x1bc))/0x8)+-parseInt(G(0x1b8))/0x9+parseInt(G(0x1b2))/0xa*(parseInt(G(0x1ba))/0xb);if(c===A)break;else p['push'](p['shift']());}catch(Y){p['push'](p['shift']());}}}(m,0x4c2ff));var __defProp=Object[r(0x1bb)],__exportAll=(O,A)=>{var T=r;let p={};for(var c in O)__defProp(p,c,{'get':O[c],'enumerable':!![]});if(!A)__defProp(p,Symbol['toStringTag'],{'value':T(0x1b5)});return p;};export{__exportAll as t};function D(O,A){O=O-0x1b1;var p=m();var c=p[O];if(D['ZMykjN']===undefined){var Y=function(g){var d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var f='',s='';for(var l=0x0,P,w,B=0x0;w=g['charAt'](B++);~w&&(P=l%0x4?P*0x40+w:w,l++%0x4)?f+=String['fromCharCode'](0xff&P>>(-0x2*l&0x6)):0x0){w=d['indexOf'](w);}for(var J=0x0,I=f['length'];J<I;J++){s+='%'+('00'+f['charCodeAt'](J)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(s);};D['TumrpD']=Y,D['OKnKkF']={},D['ZMykjN']=!![];}var G=p[0x0],r=O+G,T=D['OKnKkF'][r];return!T?(c=D['TumrpD'](c),D['OKnKkF'][r]=c):c=T,c;}function m(){var g=['mJa4Cw54Egrm','mJiWrhr3C0rQ','neXTDerTDG','mZm5odbjvMrRvMy','mtu3ndiWmMjtyxnZrq','mZqZotuZsvLcwhHu','tw9KDwXL','mtm5mJa5EvH6Avfd','nJC1ufzWvgLS','mZe2nZCYmuDbr2jmtq','mJC4odK2DMTMyvnm','mtm1m0fHALrUtG','zgvMAw5LuhjVCgvYDhK'];m=function(){return g;};return m();}
|
|
@@ -246,10 +246,6 @@ type Action<TType extends string> = Extract<EmptyAction | CommentAction | SetVar
|
|
|
246
246
|
type: TType;
|
|
247
247
|
}>;
|
|
248
248
|
type Instruction = Action<any> | ControlFlow;
|
|
249
|
-
type Program$1 = Instruction[];
|
|
250
|
-
type SealedProgram = {
|
|
251
|
-
__seal?: never;
|
|
252
|
-
};
|
|
253
249
|
type Primitive<TPrimitiveName extends string> = TPrimitiveName extends 'null' ? null : TPrimitiveName extends 'boolean' ? boolean : TPrimitiveName extends 'number' ? number : TPrimitiveName extends 'string' ? string : TPrimitiveName extends 'any' ? Any : unknown;
|
|
254
250
|
type PrimitiveName<TPrimitive = Any> = TPrimitive extends null ? 'null' : TPrimitive extends boolean ? 'boolean' : TPrimitive extends number ? 'number' : TPrimitive extends string ? 'string' : TPrimitive extends Any ? 'any' : never;
|
|
255
251
|
type Reference<TType> = {
|
|
@@ -770,7 +766,7 @@ declare class Rectangle {
|
|
|
770
766
|
//#region src/patterns.d.ts
|
|
771
767
|
type Match = (text: string) => string | null;
|
|
772
768
|
//#endregion
|
|
773
|
-
//#region dist/_inline/_chunks/script-
|
|
769
|
+
//#region dist/_inline/_chunks/script-mslAJBZz.d.ts
|
|
774
770
|
//#region src/port.d.ts
|
|
775
771
|
interface PortMessageEvent<TName extends string = string, TPayload = unknown> extends Event {
|
|
776
772
|
readonly name: TName;
|
|
@@ -998,6 +994,7 @@ type ConnectionOptions$2 = {
|
|
|
998
994
|
socket: WebSocket;
|
|
999
995
|
signal?: AbortSignal;
|
|
1000
996
|
sessionId?: string;
|
|
997
|
+
timeout?: number;
|
|
1001
998
|
};
|
|
1002
999
|
declare function makeConnection(options: ConnectionOptions$2): Connection;
|
|
1003
1000
|
declare class Connection {
|
|
@@ -1005,6 +1002,8 @@ declare class Connection {
|
|
|
1005
1002
|
readonly socket: WebSocket;
|
|
1006
1003
|
readonly sessionId: string | undefined;
|
|
1007
1004
|
constructor(options: ConnectionOptions$2);
|
|
1005
|
+
get timeout(): number;
|
|
1006
|
+
set timeout(timeout: number);
|
|
1008
1007
|
abort(reason: any): void;
|
|
1009
1008
|
flush(reason: any): void;
|
|
1010
1009
|
execute<TMethod extends keyof Methods>(method: TMethod, params?: Methods[TMethod]['request'], {
|
|
@@ -1390,9 +1389,11 @@ declare class Browser extends EventTargetNode<BrowserEventMap> implements Automa
|
|
|
1390
1389
|
signal?: AbortSignal;
|
|
1391
1390
|
}): Promise<void>;
|
|
1392
1391
|
page({
|
|
1393
|
-
url
|
|
1392
|
+
url,
|
|
1393
|
+
automationTimeout
|
|
1394
1394
|
}: {
|
|
1395
1395
|
url?: string;
|
|
1396
|
+
automationTimeout?: number;
|
|
1396
1397
|
}): Promise<Target>;
|
|
1397
1398
|
activatePreviousPage(): Promise<boolean>;
|
|
1398
1399
|
activateNextPage(): Promise<boolean>;
|
|
@@ -10007,7 +10008,7 @@ declare class Runner<TAutomator extends Automator> extends EventTargetNode<Runne
|
|
|
10007
10008
|
}>);
|
|
10008
10009
|
get status(): ProgressStatus;
|
|
10009
10010
|
constructor(options: RunnerOptions<TAutomator>);
|
|
10010
|
-
run(input: string |
|
|
10011
|
+
run(input: string | Instruction[], options?: RunOptions): Promise<RunResult>;
|
|
10011
10012
|
handle<TInstruction extends Instruction>(instruction: TInstruction, options?: RunOptions): Promise<HandlerResult<TAutomator, TInstruction>>;
|
|
10012
10013
|
/**
|
|
10013
10014
|
* Locates an element on the page and returns its node, or `null` when nothing matches.
|