epii-types-rpa 1.3.5 → 1.3.7

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 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "epii-types-rpa",
3
- "version": "1.3.5",
3
+ "version": "1.3.7",
4
4
  "description": "rpa-types",
5
5
  "author": "MrRen",
6
6
  "license": "ISC",
package/rpa.d.ts CHANGED
@@ -119,8 +119,10 @@ declare namespace rpa {
119
119
  function waitForSelectors(selectorOrFunction: String | Function): Promise<Array<Element>>
120
120
  function getAppDataDir(subDir:string):Promise<string>;
121
121
  function unlink(filepath:string):Promise<string>;
122
+ function getChromeExePath():Promise<string>;
122
123
  }
123
124
  namespace page {
125
+ function setViewport(viewport:Object):Promise
124
126
  function type(selector:string, text:string,options:Object): Promise;
125
127
  function screenshot(options: Object): Promise;
126
128
  function elementScreenshot(selector:string,options: Object): Promise;