appium
词穷墨尽
don't try so hard the best things come when you least expect them to
不定时更新~~
展开
-
appium 定位元素的两种方式
# !/usr/bin/env python # -*- coding:utf-8 -*- # Author:victor import time from appium import webdriver desired_caps = dict() # 平台 desired_caps["platformName"] = "Android" # 系统版本 desired_caps["platformVersion"] = "7" # 设备名字 desired_caps["deviceNam...原创 2021-07-20 23:08:26 · 263 阅读 · 2 评论 -
appium demo 定位 智能等待及滑动元素
from selenium.webdriver.common.by import By from selenium.webdriver.support.wait import WebDriverWait import selenium.webdriver.support.expected_conditions as EC import unittest from appium import webdriver def element_to_be_clickable(driver, location=N.原创 2020-10-29 14:26:27 · 180 阅读 · 0 评论