摘要:
from appium import webdriver import unittest import time class QQlogin(unittest.TestCase): def setUp(self): desired_caps = {'platformName': 'Android', 阅读全文
posted @ 2020-06-12 15:58
hyeonsori
阅读(173)
评论(0)
推荐(0)
摘要:
from selenium import webdriver import time from selenium.webdriver.support.select import Select #查询北京到天津0615-0715的高铁 driver = webdriver.Chrome() drive 阅读全文
posted @ 2020-06-12 15:55
hyeonsori
阅读(254)
评论(0)
推荐(0)
摘要:
1.基本八种元素定位 find_element_by_xx() id、name、class_name对应html里的id、name、class,一般开发规范的话,应该至少会有一种。 tag_name,通过标签名定位元素,这种只能在页面标签只出现一次情况去定位,所以基本用不到。 link_text与p 阅读全文
posted @ 2020-06-12 15:53
hyeonsori
阅读(99)
评论(0)
推荐(0)

浙公网安备 33010602011771号