PlaywrightCapture 1.24.0__tar.gz → 1.24.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PlaywrightCapture
3
- Version: 1.24.0
3
+ Version: 1.24.1
4
4
  Summary: A simple library to capture websites using playwright
5
5
  Home-page: https://github.com/Lookyloo/PlaywrightCapture
6
6
  License: BSD-3-Clause
@@ -718,7 +718,7 @@ class Capture():
718
718
  if allow_tracking:
719
719
  await self._wait_for_random_timeout(page, 2)
720
720
  # This event is required trigger the add_locator_handler
721
- if page.locator("body").is_visible():
721
+ if await page.locator("body").is_visible():
722
722
  await page.locator("body").click(button="right", timeout=2000)
723
723
 
724
724
  # move mouse
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "PlaywrightCapture"
3
- version = "1.24.0"
3
+ version = "1.24.1"
4
4
  description = "A simple library to capture websites using playwright"
5
5
  authors = ["Raphaël Vinot <raphael.vinot@circl.lu>"]
6
6
  license = "BSD-3-Clause"