Skip to content

Commit

Permalink
<jx3>[feat]fix missing argument
Browse files Browse the repository at this point in the history
  • Loading branch information
HornCopper committed Aug 15, 2024
1 parent 8ede0fa commit c1c5a31
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/tools/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ async def generate(
viewport: dict = None,
full_screen: bool = False,
hide_classes: list = None,
device_scale_factor: float = 1.0
device_scale_factor: float = 1.0,
output: str = None
):
generator = ScreenshotGenerator(path, web, locate, first, delay, additional_css, viewport, full_screen, hide_classes, device_scale_factor)
generator = ScreenshotGenerator(path, web, locate, first, delay, additional_css, viewport, full_screen, hide_classes, device_scale_factor, output)
return await generator.generate()

0 comments on commit c1c5a31

Please sign in to comment.