puppeteer-in-electron
Advanced tools
Comparing version 2.0.2 to 2.0.3
14
API.md
@@ -24,3 +24,3 @@ <!-- Generated by documentation.js. Update this documentation by updating the source code. --> | ||
Connects puppeteer to the electron app. Must call {@see initialize} before connecting. | ||
Connects puppeteer to the electron app. Must call [initialize][8] before connecting. | ||
When connecting multiple times, you use the same port. | ||
@@ -33,3 +33,3 @@ | ||
Returns **[Promise][8]<Browser>** An object containing the puppeteer browser, the port, and json received from DevTools. | ||
Returns **[Promise][9]<Browser>** An object containing the puppeteer browser, the port, and json received from DevTools. | ||
@@ -46,5 +46,5 @@ ## getPage | ||
- `window` **BrowserWindow** The browser window for which we want to find the corresponding puppeteer Page. | ||
- `allowBlankNavigate` **[boolean][9]** If no url is loaded, allow us to load "about:blank" so that we may find the Page. (optional, default `true`) | ||
- `allowBlankNavigate` **[boolean][10]** If no url is loaded, allow us to load "about:blank" so that we may find the Page. (optional, default `true`) | ||
Returns **[Promise][8]<Page>** The page that corresponds with the BrowserWindow. | ||
Returns **[Promise][9]<Page>** The page that corresponds with the BrowserWindow. | ||
@@ -65,4 +65,6 @@ [1]: #initialize | ||
[8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise | ||
[8]: initialize | ||
[9]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean | ||
[9]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise | ||
[10]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean |
@@ -10,3 +10,3 @@ /// <reference types="electron" /> | ||
/** | ||
* Connects puppeteer to the electron app. Must call {@see initialize} before connecting. | ||
* Connects puppeteer to the electron app. Must call {@link initialize} before connecting. | ||
* When connecting multiple times, you use the same port. | ||
@@ -13,0 +13,0 @@ * @param {App} app The app imported from electron. |
@@ -37,3 +37,3 @@ "use strict"; | ||
/** | ||
* Connects puppeteer to the electron app. Must call {@see initialize} before connecting. | ||
* Connects puppeteer to the electron app. Must call {@link initialize} before connecting. | ||
* When connecting multiple times, you use the same port. | ||
@@ -40,0 +40,0 @@ * @param {App} app The app imported from electron. |
@@ -52,3 +52,3 @@ import fetch from "node-fetch"; | ||
/** | ||
* Connects puppeteer to the electron app. Must call {@see initialize} before connecting. | ||
* Connects puppeteer to the electron app. Must call {@link initialize} before connecting. | ||
* When connecting multiple times, you use the same port. | ||
@@ -55,0 +55,0 @@ * @param {App} app The app imported from electron. |
{ | ||
"name": "puppeteer-in-electron", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Run puppeteer within an electron app.", | ||
@@ -5,0 +5,0 @@ "main": "./bin/index.js", |
25549