in src/nova_act/impl/inputs.py [0:0]
def validate_screen_resolution(screen_width: int, screen_height: int) -> None:
if not (
screen_width >= MIN_SCREEN_SIZE
and screen_width <= MAX_SCREEN_SIZE
and screen_height >= MIN_SCREEN_SIZE
and screen_height <= MAX_SCREEN_SIZE
):
raise InvalidScreenResolution(
f"Invalid screen resolution. Acceptable range: [{MIN_SCREEN_SIZE}, {MAX_SCREEN_SIZE}]."
)
check_screen_resolution_in_recommended_range(screen_width=screen_width, screen_height=screen_height)