def METHOD_NAME(driver):
    position = driver.get_window_position()
    target_x = position.get("x") + 10
    target_y = position.get("y") + 10
    driver.set_window_position(x=target_x, y=target_y)
    WebDriverWait(driver, 2).until(
        lambda d: d.get_window_position()["x"] != position["x"] and d.get_window_position()["y"] != position["y"]
    )
    new_position = driver.get_window_position()
    assert new_position.get("x") == target_x
    assert new_position.get("y") == target_y