epii-types-rpa 1.5.3 → 1.5.5
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/package.json +1 -1
- package/rpa.d.ts +3 -1
package/package.json
CHANGED
package/rpa.d.ts
CHANGED
|
@@ -139,6 +139,7 @@ declare namespace rpa {
|
|
|
139
139
|
function getAppDataDir(subDir: string): Promise<string>;
|
|
140
140
|
function unlink(filepath: string): Promise<string>;
|
|
141
141
|
function getChromeExePath(): Promise<string>;
|
|
142
|
+
function getBase64ImageFromImgNode(imgNode:Element):Promise<string>;
|
|
142
143
|
}
|
|
143
144
|
namespace page {
|
|
144
145
|
function setViewport(viewport: Object): Promise
|
|
@@ -178,7 +179,7 @@ declare namespace rpa {
|
|
|
178
179
|
function newPageAndEvaluate(url: String, func: Function, data: Object = {}): Promise;
|
|
179
180
|
function waitOpenedPageAndEvaluate(invokeFun: Function, func: Function, data: Object = {}): Promise;
|
|
180
181
|
function waitOpenedPageAndExec(invokeFun: Function, script: String, params: Object = {}): Promise;
|
|
181
|
-
function waitOpenedPageAndGetHandler(invokeFun: Function):Promise<PageHander>;
|
|
182
|
+
function waitOpenedPageAndGetHandler(invokeFun: Function, waitFor?:String):Promise<PageHander>;
|
|
182
183
|
|
|
183
184
|
function getNextWindowOpenUrl(beforFunc: Function, cancel: boolean): Promise;
|
|
184
185
|
function getNextWindowOpenUrl(beforFunc: Function): Promise;
|
|
@@ -207,6 +208,7 @@ declare namespace rpa {
|
|
|
207
208
|
function removeItem(key: String): Promise;
|
|
208
209
|
}
|
|
209
210
|
namespace view {
|
|
211
|
+
function prompt(message?: any): Promise;
|
|
210
212
|
function alert(message?: any): Promise;
|
|
211
213
|
function confirm(message?: string): Promise;
|
|
212
214
|
function getCustomValue(keysOrOptions: Array<String> | Array<FormItem>, autoNextCount: Number = 5, title = ""): Promise<Object>;
|