python+appium出现selenium.common.exceptions.WebDriverException: Message: Method has not yet been imple
python+appium出现selenium.common.exceptions.WebDriverException: Message: Method has not yet been implemented错误解决方法
一、问题
使用driver.close()遇到报错selenium.common.exceptions.WebDriverException: Message: Method has not yet been implemented
二、分析原因
1 等待时间问题:会不会因为APP还没打开完成就已经执行了关闭导致关闭失败,因此加长了时间,发现还是未解决。
2 在网上查找,大多数都说是因为appium sever的版本和Appium-Python-Client 的版本不一致,需要更改;检查之后发现版本是一致的。
3 查找了资料发现,driver.close()是关闭当前页面,driver.close_app()是关闭当前APP,因此我认为driver.close()应该适用于selenium,而appium应该使用的是driver.close_app()。之后改成close_app(),运行成功。
二、解决方法
将close()改为close_app()
python+appium出现selenium.common.exceptions.WebDriverException: Message: Method has not yet been imple相关推荐
- Jenkins部署Python报错 - selenium.common.exceptions.WebDriverException: Message: ‘chromedriver‘ executabl
说明:该文属于 Python全栈白宝书专栏,免费阶段订阅数量4300+,购买任意白宝书体系化专栏可加入TFS-CLUB 私域社区. 福利:除了通过订阅"白宝书系列专栏"加入社区获取 ...
- selenium.common.exceptions.WebDriverException: Message: ‘chromedriver’解决
selenium.common.exceptions.WebDriverException: Message: 'chromedriver'解决: https://blog.csdn.net/weix ...
- 【Python】处理 selenium.common.exceptions.WebDriverException 报错问题
安装selenium的话,使用pip即可:pip install selenium 但是安装成功后运行会报错:selenium.common.exceptions.WebDriverException ...
- 已解决selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Chrome binary
已解决selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Chrome binary ...
- 【解决报错问题:selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurr】
运行Appium报错: selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occ ...
- 报错解决:selenium.common.exceptions.WebDriverException: Message: An unknown server-side error
报错代码 from appium import webdriver from selenium.webdriver.support.ui import WebDriverWaitdesired_cap ...
- selenium.common.exceptions.WebDriverException: Message: Unable to find a matching set of capabilitie
selenium.common.exceptions.WebDriverException: Message: Unable to find a matching set of capabilitie ...
- selenium.common.exceptions.WebDriverException: Message: ‘chromedriver‘ executable needs to bein PATH
使用Selenium模拟浏览器访问淘宝首页,出现报警 from selenium import webdriver import timebrowser = webdriver.Chrome() br ...
- selenium.common.exceptions.WebDriverException: Message: unable to set
本人使用的版本是 python3.7 selenium3.14.1 macOS10.13.3 另外是在谷歌浏览器做的实验 下面看代码: 我想要添加一个name为MUSIC_U的cookie,运行后出现 ...
- WebDriverException( selenium.common.exceptions.WebDriverException: Message: ‘chromedriver‘ executabl
WebDriverException( selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executabl ...
最新文章
- 学习超大神经网络,CPU超越V100 GPU,靠的居然是哈希?
- SQLServer 实现rownum 的功能
- 信息学奥赛C++语言: 开关灯1
- Silverlight在IE中无法显示但在Firefox中正常的原因和解决办法
- JavaScript的Array对象使用(1)
- UnityShader27:屏幕雾效
- 服务器监控之 ping 监控
- Atitit 深入理解软件的本质 attilax总结 软件三原则三次原则是DRY原则和YAGNI原则的折
- 链栈的基本操作和实现
- 如何在CSDN中免费下载资料
- 基于线程池实现多线程任务
- 【DP专题】——洛谷P5144蜈蚣
- 安装win10 ltsc应用商店
- 人类第一位女教授的传奇一生
- 腾讯云服务器的简单使用
- Cannot GET / 错误解决
- 手机怎么模拟125k卡_手把手教你用手机NFC秒变门禁卡,这个方法多种手机都可以适用...
- Loadrunder脚本篇——文件下载
- 通过自适应UM(非锐化掩膜)算法进行图像增强(Image Enhancement via Adaptive Unsharp Masking)
- 代码下载python 简体和繁体的转换