新建实例driver = webdriver.Chrome() 1.获取当前页面的Url函数 方法:current_url 实例: driver.current_url 2.获取元素坐标 方法:location 解释:首先查找到你要获取元素的,然后调用location方法 实例: driver.fi Read More
posted @ 2016-02-19 16:40 Mytesting Views(370) Comments(0) Diggs(0) Edit
selenium是一个用于web应用程序测试的工具,支持多平塔斯,多浏览器,多语言去实现自动化测试。 特点: 开源,免费 多浏览器支持:FireFox、Chrome、IE、Opera 多平台支持:linux 、windows、MAC 多语言支持:java、python、ruby、php、C#、Jav Read More
posted @ 2016-02-19 15:47 Mytesting Views(210) Comments(0) Diggs(0) Edit