mirror of
https://github.com/microsoft/playwright.git
synced 2024-11-24 06:49:04 +03:00
docs: note about screenshot environment (#33501)
This commit is contained in:
parent
b021b58379
commit
9c6c58f8ce
@ -16,6 +16,10 @@ test('example test', async ({ page }) => {
|
||||
});
|
||||
```
|
||||
|
||||
:::warning
|
||||
Browser rendering can vary based on the host OS, version, settings, hardware, power source (battery vs. power adapter), headless mode, and other factors. For consistent screenshots, run tests in the same environment where the baseline screenshots were generated.
|
||||
:::
|
||||
|
||||
## Generating screenshots
|
||||
|
||||
When you run above for the first time, test runner will say:
|
||||
|
Loading…
Reference in New Issue
Block a user