epii-types-rpa 1.3.9 → 1.5.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/rpa.d.ts +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "epii-types-rpa",
3
- "version": "1.3.9",
3
+ "version": "1.5.0",
4
4
  "description": "rpa-types",
5
5
  "author": "MrRen",
6
6
  "license": "ISC",
package/rpa.d.ts CHANGED
@@ -169,7 +169,8 @@ declare namespace rpa {
169
169
  function newPageAndEvaluate(url: String, func: Function, data: Object = {}): Promise;
170
170
  function waitOpenedPageAndEvaluate(invokeFun: Function, func: Function, data: Object = {}): Promise;
171
171
  function waitOpenedPageAndExec(invokeFun: Function, script: String, params: Object = {}): Promise;
172
-
172
+ function waitOpenedPageAndGetHandler(invokeFun: Function):Promise<PageHander>;
173
+
173
174
  function getNextWindowOpenUrl(beforFunc: Function, cancel: boolean): Promise;
174
175
  function getNextWindowOpenUrl(beforFunc: Function): Promise;
175
176
  function newIncognitoPageAndEvaluate(url: String, func: Function, data: Object = {}): Promise;