subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
def screenshot_with_playwright(html_path: str, output: str, width: int, height: int) -> bool: try: result = subprocess.run( ["npx", "--yes", "playwright", "screenshot", "--browser", "chromium", "--viewport-size", f"{width},{height}",- Confidence
- 92% confidence
- Finding
- result = subprocess.run( ["npx", "--yes", "playwright", "screenshot", "--browser", "chromium", "--viewport-size", f"{width},{height}", "--wai
