appium关于实现多个模拟器同时启动
multi_devices:
from appium import webdriver
import yaml
from time import ctime
from os import path
import multiprocessing
with open(path.join(path.dirname(path.dirname(__file__)), 'config/desired_caps.yaml'), 'r', encoding='utf-8') as file:
data = yaml.load(file, Loader=yaml.FullLoader)
devices_list = ['127.0.0.1:62025', '127.0.0.1:62026']
def appium_desired(udid, port):
desired_caps = {
}
desired_caps['platformName'] = data['platformName']
desired_caps['platformVersion'] = data[