mirror of
https://github.com/elastic/kibana.git
synced 2025-04-22 17:04:01 -04:00
* extract message from error objects
* only warn for 400 and up status codes
* naively wait for vis ready after resizing the browser viewport
* use a single default viewport size, enable layout to set default page viewport for every page that is created
* refactor viewport -> windowSize in chromium args
* allow overriding defaults and use new windowSize arg for chromium args
* always round page dimension numbers. note: this will break if we ever have a "undefined" set as a key value
* added comment
* update snapshot to new width value
* make defaultViewport a required field on createPage
* added comment
* style: use async-await rather than .then chaining. also added a comment
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
common | ||
public | ||
server | ||
jest.config.js | ||
kibana.json | ||
README.md | ||
tsconfig.json |
Kibana Screenshotting
This plugin provides functionality to take screenshots of the Kibana pages. It uses Chromium and Puppeteer underneath to run the browser in headless mode.
API
The plugin exposes most of the functionality in the start contract. The Chromium download and setup is happening during the setup stage.
To learn more about the public API, please use automatically generated API reference or generated TypeDoc comments.