51 lines
1014 B
Python
51 lines
1014 B
Python
from typing import Any, Dict, Optional
|
|
|
|
|
|
class PythonController:
|
|
def __init__(self):
|
|
pass
|
|
|
|
def get_screenshot(self) -> Optional[bytes]:
|
|
pass
|
|
|
|
def get_accessibility_tree(self) -> Optional[str]:
|
|
pass
|
|
|
|
def get_terminal_output(self) -> Optional[str]:
|
|
pass
|
|
|
|
def get_file(self, file_path: str) -> Optional[bytes]:
|
|
pass
|
|
|
|
def execute_python_command(self, command: str) -> None:
|
|
pass
|
|
|
|
def execute_action(self, action: Dict[str, Any]):
|
|
pass
|
|
|
|
# Record video
|
|
def start_recording(self):
|
|
pass
|
|
|
|
def end_recording(self, dest: str):
|
|
pass
|
|
|
|
# Additional info
|
|
def get_vm_platform(self):
|
|
pass
|
|
|
|
def get_vm_screen_size(self):
|
|
pass
|
|
|
|
def get_vm_window_size(self, app_class_name: str):
|
|
pass
|
|
|
|
def get_vm_wallpaper(self):
|
|
pass
|
|
|
|
def get_vm_desktop_path(self) -> Optional[str]:
|
|
pass
|
|
|
|
def get_vm_directory_tree(self, path) -> Optional[Dict[str, Any]]:
|
|
pass
|