epii-types-rpa 1.3.4 → 1.3.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 +5 -2
- package/rpa.d.ts +6 -3
package/package.json
CHANGED
package/rpa.d.ts
CHANGED
|
@@ -5,10 +5,11 @@ interface UploadFile {
|
|
|
5
5
|
}
|
|
6
6
|
interface RequestHandler {
|
|
7
7
|
reg: String,
|
|
8
|
-
type: "file" | "content" | "abort" | "redirect",
|
|
8
|
+
type: "file" | "content" | "abort" | "redirect" | "web-app",
|
|
9
9
|
file?: String,
|
|
10
10
|
content?: String,
|
|
11
|
-
getLocation?: (url: string) => string
|
|
11
|
+
getLocation?: (url: string) => string,
|
|
12
|
+
path?:string
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
interface FormItem {
|
|
@@ -120,8 +121,10 @@ declare namespace rpa {
|
|
|
120
121
|
function unlink(filepath:string):Promise<string>;
|
|
121
122
|
}
|
|
122
123
|
namespace page {
|
|
123
|
-
|
|
124
|
+
function type(selector:string, text:string,options:Object): Promise;
|
|
124
125
|
function screenshot(options: Object): Promise;
|
|
126
|
+
function elementScreenshot(selector:string,options: Object): Promise;
|
|
127
|
+
|
|
125
128
|
function pdf(options): Promise;
|
|
126
129
|
|
|
127
130
|
function waitForNavigation(options = {});
|