From 0ccfa1f6a9663de7c4565d787d346606b8a790bb Mon Sep 17 00:00:00 2001
From: Thephaseless <kukubaorch@gmail.com>
Date: Tue, 17 Dec 2024 12:03:53 +0000
Subject: [PATCH] do not use virtual display

---
 main.py | 2 +-
 test.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/main.py b/main.py
index ba722e8..fd01728 100644
--- a/main.py
+++ b/main.py
@@ -56,7 +56,7 @@ def read_item(request: LinkRequest) -> LinkResponse:
     response: LinkResponse
 
     # start_time = int(time.time() * 1000)
-    with SB(uc=True, locale_code="en", test=False, xvfb=True, ad_block=True) as sb:
+    with SB(uc=True, locale_code="en", test=False, ad_block=True) as sb:
         try:
             sb: BaseCase
             global cookies  # noqa: PLW0603
diff --git a/test.sh b/test.sh
index 7c142de..bd34262 100755
--- a/test.sh
+++ b/test.sh
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-uv run pytest --retries 2 -n auto --xvfb
\ No newline at end of file
+uv run pytest --retries 2 -n auto
\ No newline at end of file