Downgrade playwright to 1.50.0 to fix version mismatch with browserless server
All checks were successful
Build and Push Docker Image / build (push) Successful in 34s

This commit is contained in:
2026-04-24 04:48:07 +00:00
parent 342167e788
commit ad4d7317f4
5 changed files with 44 additions and 77 deletions

View File

@@ -54,11 +54,15 @@ def main():
print(f"Sending cookies to {mcp_endpoint}...")
headers = {
"Accept": "application/json, text/event-stream"
}
try:
# Note: We use a POST to the /mcp endpoint.
# In SSE mode, the real endpoint is often dynamic, but many FastMCP
# wrappers handle direct POSTs for automation.
response = httpx.post(mcp_endpoint, json=payload, timeout=60.0)
response = httpx.post(mcp_endpoint, json=payload, headers=headers, timeout=60.0)
if response.status_code == 200:
result = response.json()