Uphrade plawyright installation command to install dependencies
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user