diff --git a/crawl4ai/install.py b/crawl4ai/install.py index e54f0850..eb4ede7c 100644 --- a/crawl4ai/install.py +++ b/crawl4ai/install.py @@ -17,7 +17,7 @@ def post_install(): def install_playwright(): logger.info("Installing Playwright browsers...", tag="INIT") try: - subprocess.check_call([sys.executable, "-m", "playwright", "install"]) + subprocess.check_call([sys.executable, "-m", "playwright", "install", "--with-deps"]) logger.success("Playwright installation completed successfully.", tag="COMPLETE") except subprocess.CalledProcessError as e: logger.error(f"Error during Playwright installation: {e}", tag="ERROR")