Skip to content

Instantly share code, notes, and snippets.

from appium import webdriver
from selenium.webdriver.common.by import By
desired_caps = {}
desired_caps["app"] = "Microsoft.WindowsCalculator_8wekyb3d8bbwe!App"
desired_caps["platformName"] = "Windows"
desired_caps["deviceName"] = "WindowsPC"
desired_caps["sessionId"] = "A25DB09C-66CD-4099-98EF-57272962EBF6"
driver = webdriver.Remote("http://127.0.0.1:4723", desired_caps)
import os
from ament_index_python.packages import get_package_share_directory
from launch import LaunchDescription
from launch.actions import IncludeLaunchDescription
from launch.launch_description_sources import PythonLaunchDescriptionSource
# replace serials with your owns
SERIALS = {0: "<serial 1>", 1: "<serial 2>", 2: "<serial 3>", 3: "<serial 4>"}