You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ see more demo in [unit test](test/index.test.js)
39
39
-`script`: `string` is an option param. inject script source to evaluate when page on load
40
40
-`renderTimeout`: `number` in ms, `render()` will throw error if html string can't be resolved after `renderTimeout`, default is 5000ms.
41
41
-`deviceMetricsOverride`: `object` overrides the values of device screen dimensions for responsive websites, detail use see [here](https://chromedevtools.github.io/devtools-protocol/tot/Emulation/#method-setDeviceMetricsOverride)
42
-
-`clearPool`: `boolean` if `true` after render chrome instance will navigate to `about:blank` to free resources. default is true. setting to `false` may increase page load speed when rendering the same website.
42
+
-`clearTab`: `boolean` if `true` after render chrome instance will navigate to `about:blank` to free resources. default is `true`. setting to `false` may increase page load speed when rendering the same website.
43
43
44
44
all request from chrome-render will take with a HTTP header `x-chrome-render:${version}`
Copy file name to clipboardexpand all lines: index.d.ts
+1-1
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ export default class ChromeRender {
48
48
/**
49
49
* `boolean` if `true` after render chrome instance will navigate to `about:blank` to free resources. default is true. setting to `false` may increase page load speed when rendering the same website.
0 commit comments