mirror of
https://github.com/ThePhaseless/Byparr.git
synced 2025-03-15 17:50:21 +08:00
do not use virtual display
This commit is contained in:
parent
c8ccfd8cb2
commit
0ccfa1f6a9
2
main.py
2
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
|
||||
|
2
test.sh
2
test.sh
@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
uv run pytest --retries 2 -n auto --xvfb
|
||||
uv run pytest --retries 2 -n auto
|
Loading…
x
Reference in New Issue
Block a user