()
| 37 | sync_requirements = ["selenium"] |
| 38 | |
| 39 | def install_playwright(): |
| 40 | print("Installing Playwright browsers...") |
| 41 | try: |
| 42 | subprocess.check_call([sys.executable, "-m", "playwright", "install"]) |
| 43 | print("Playwright installation completed successfully.") |
| 44 | except subprocess.CalledProcessError as e: |
| 45 | print(f"Error during Playwright installation: {e}") |
| 46 | print("Please run 'python -m playwright install' manually after the installation.") |
| 47 | except Exception as e: |
| 48 | print(f"Unexpected error during Playwright installation: {e}") |
| 49 | print("Please run 'python -m playwright install' manually after the installation.") |
| 50 | |
| 51 | class PostInstallCommand(install): |
| 52 | def run(self): |
no outgoing calls
no test coverage detected
searching dependent graphs…