fix: run formatters to fix lint workflow failure

This commit is contained in:
synacktra.work@gmail.com
2025-12-23 01:20:52 +05:30
parent a223dca9be
commit 13ffe4ace2

View File

@@ -1,15 +1,18 @@
from __future__ import annotations
import time
from bench_ui import launch_window, get_element_rect, execute_javascript
from pathlib import Path
import os
import time
from pathlib import Path
from bench_ui import execute_javascript, get_element_rect, launch_window
def main():
os.environ["CUA_BENCH_UI_DEBUG"] = "1"
# Get the path to the gui folder
gui_folder = Path(__file__).parent / "gui"
# Launch a window serving the static folder
pid = launch_window(
folder=str(gui_folder),
@@ -30,7 +33,7 @@ def main():
# Check if button has been clicked
clicked = execute_javascript(pid, "document.getElementById('testButton').disabled")
print("Button clicked:", clicked)
# Get the page title
title = execute_javascript(pid, "document.title")
print("Page title:", title)