-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Reporting] Close chromium before compiling pdf (#120223)
* added "close" method to the factory output so that consumers can close the browser once they are done with the page * update test reference to exit$ * removed old files * fix variable name * remove unused import and fix typo in mock * added comments and documentation for close functionality * updated implemenatation of close to not call .kill if page is already closed * added a test describing the close behaviour we want, also moved the page.isClosed() check to the private .kill function to be DRY * avoid emitting a log unnecessarily Co-authored-by: Kibana Machine <[email protected]>
- Loading branch information
1 parent
797bc49
commit cbe06ea
Showing
5 changed files
with
78 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters