fix: capturePage not resolving with hidden windows (#27883)
This commit is contained in:
parent
f6949dd197
commit
d9997c303f
3 changed files with 29 additions and 1 deletions
|
@ -1370,7 +1370,7 @@ Returns `Boolean` - Whether the window's document has been edited.
|
|||
|
||||
Returns `Promise<NativeImage>` - Resolves with a [NativeImage](native-image.md)
|
||||
|
||||
Captures a snapshot of the page within `rect`. Omitting `rect` will capture the whole visible page.
|
||||
Captures a snapshot of the page within `rect`. Omitting `rect` will capture the whole visible page. If the page is not visible, `rect` may be empty.
|
||||
|
||||
#### `win.loadURL(url[, options])`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue