- 博客(4)
- 收藏
- 关注
原创 webdriver用法
本片文章主要记录webdriver一些常用的方法和用法webdriver(selenuim2)是基于web应用程序的自动测试工具,它提供了一套友好的API,与selenuim1相比,webdriverd API更容易理解和使用,可读性和维护性也大大提高,webdriver完全就是一套类库,不依赖与任何框架,除了必要的浏览器驱动买不需要启动其他进程和安装其他程序,也不必想selenuim1那样需要先启动服务2.基本调用总结以上就是webdriver一些常用的用法总结,欢迎各位在评论区补充...
2022-07-01 11:04:33 3066 1
原创 DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead
DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element()
2022-07-01 10:42:21 403
原创 Message: unknown error: cannot find dict ‘desiredCapabilities‘
Message: unknown error: cannot find dict ‘desiredCapabilities’原因分析:首先找到chrome根目录右键属性查看浏览器的版本在 官网 找到相似的版本下载找到对应文件下载(ps:64位系统也可以使用win32)将解压之后的文件放在和浏览器相同的位置再使用binary_location方法把浏览器以及chromedriver.exe文件的绝对路径添加上去运行即可...
2022-06-22 11:48:10 2054
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人