WIP: Dodaj wsparcie dla Dockera #128
@ -200,14 +200,20 @@ def main() -> int:
|
||||
|
||||
# Guard: Check if debugger port found
|
||||
if not port:
|
||||
print("⚠ Could not find debugger port (but extension installed OK)")
|
||||
else:
|
||||
print_error("Could not find debugger port in logs")
|
||||
print_error("Extension installed but NO PROOF of code execution")
|
||||
cleanup(xvfb_pid, webext_pid)
|
||||
return 1
|
||||
|
||||
print_success(f"Firefox debugger port: {port}")
|
||||
|
||||
# Guard: Check debugger connectivity
|
||||
if not test_debugger_connectivity(port):
|
||||
print("⚠ Remote debugging not accessible (but extension installed OK)")
|
||||
else:
|
||||
print_error("Remote debugging not accessible")
|
||||
print_error("Extension installed but CANNOT VERIFY code execution")
|
||||
cleanup(xvfb_pid, webext_pid)
|
||||
return 1
|
||||
|
||||
print_success("Remote debugging protocol accessible")
|
||||
print_success("Extension code VERIFIED executing")
|
||||
print()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user