Skip to content

Commit

Permalink
Release percy-playwright v1.0.0 (#12)
Browse files Browse the repository at this point in the history
* Release percy-playwright v1.0.0

* Updating ReadMe
  • Loading branch information
Amit3200 authored Jun 25, 2024
1 parent 0c94380 commit 674e9bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,15 @@ with sync_playwright() as playwright:
percy_screenshot(page, name = "Screenshot 1")
```
# take a snapshot
```python
percy_screenshot(page, name = 'Screenshot 1')
```

- `page` (**required**) - A Playwright page instance
- `name` (**required**) - The screenshot name; must be unique to each screenshot
- `options` (**optional**) - There are various options supported by percy_screenshot to server further functionality.
- `sync` - Boolean value by default it falls back to `false`, Gives the processed result around screenshot [From CLI v1.28.9-beta.0+]
- `full_page` - Boolean value by default it falls back to `false`, Takes full page screenshot [From CLI v1.28.9-beta.0+]
- `sync` - Boolean value by default it falls back to `false`, Gives the processed result around screenshot [From CLI v1.28.8]
- `full_page` - Boolean value by default it falls back to `false`, Takes full page screenshot [From CLI v1.28.8]
- `freeze_animated_image` - Boolean value by default it falls back to `false`, you can pass `true` and percy will freeze image based animations.
- `freeze_image_by_selectors` -List of selectors. Images will be freezed which are passed using selectors. For this to work `freeze_animated_image` must be set to true.
- `freeze_image_by_xpaths` - List of xpaths. Images will be freezed which are passed using xpaths. For this to work `freeze_animated_image` must be set to true.
Expand Down
2 changes: 1 addition & 1 deletion percy/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.0.0-beta.0"
__version__ = "1.0.0"

0 comments on commit 674e9bf

Please sign in to comment.