摘要:
1 assertEqual(a,b) 判断a==b 2 assertNotEqual(a,b) 判断a !=b 3 assertTrue(x) bool (x) is True 4 assertFalse(x) bool(x) is False 5 assertIs(a, b) a is b 6 a 阅读全文
摘要:
webdriver提供了8种元素定位方法: 1、id 2、name 3、tag name 4、class name 5、link text 6、partial link text 7、xpath 8、css 以百度首页搜索输入框为例 加载浏览器; from selenium import webdr 阅读全文