epii-types-rpa 1.3.6 → 1.3.8
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 -2
package/package.json
CHANGED
package/rpa.d.ts
CHANGED
|
@@ -122,6 +122,7 @@ declare namespace rpa {
|
|
|
122
122
|
function getChromeExePath():Promise<string>;
|
|
123
123
|
}
|
|
124
124
|
namespace page {
|
|
125
|
+
function setViewport(viewport:Object):Promise
|
|
125
126
|
function type(selector:string, text:string,options:Object): Promise;
|
|
126
127
|
function screenshot(options: Object): Promise;
|
|
127
128
|
function elementScreenshot(selector:string,options: Object): Promise;
|
|
@@ -133,8 +134,8 @@ declare namespace rpa {
|
|
|
133
134
|
function waitForXPath(xpath);
|
|
134
135
|
function waitForTimeout(timeout);
|
|
135
136
|
function script(func, data = {});
|
|
136
|
-
|
|
137
|
-
function newIframeAndEvaluate(urlOrFunction:String | Function, func: Function,removeOnFinish:boolean = true, loadCountOrLoadCheckFunc:number | ReturnBoolFunc = 1): Promise;
|
|
137
|
+
function newIframeAndEvaluateOnWindow(win:Window,urlOrFunction:String | Function, func: Function,removeOnFinish:boolean = true, loadCountOrLoadCheckFunc:number | ReturnBoolFunc = 1): Promise;
|
|
138
|
+
function newIframeAndEvaluate(urlOrFunction:String | Function, func: Function,removeOnFinish:boolean = true, loadCountOrLoadCheckFunc:number | ReturnBoolFunc = 1,win:Window|null = null): Promise;
|
|
138
139
|
|
|
139
140
|
function download(url: String, path: String): Promise;
|
|
140
141
|
function closeActivated(): Promise;
|