Replace Playwright server with a pre-built image

This commit is contained in:
Wee
2022-04-17 23:27:17 +07:00
parent 25a7fd050f
commit c990db2bd5
5 changed files with 8 additions and 53 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ class html_playwright(Fetcher):
self.browser_type = os.getenv("PLAYWRIGHT_BROWSER_TYPE", 'chromium').strip('"')
self.command_executor = os.getenv(
"PLAYWRIGHT_DRIVER_URL",
'ws://playwright-server:4444/playwright'
'ws://playwright-chrome:3000/playwright'
).strip('"')
# If any proxy settings are enabled, then we should setup the proxy object