前言 之前一直用的appium1.4版本,最近升级到了1.6突然发现之前的脚本好多都跑失败了,一看报错: selenium.common.exceptions.InvalidSelectorException: Message: Locator Strategy 'name' is not supported for this session 查了资料才发现,在appium1.5之后,by name的这种定位方式已经彻底移除...脑阔疼,又要大改代码了. 突然想到之前通过name定位的方法,被我…
The issue is that the cocoapods have not been built for arm64 architecture yet thus they cannot be linked when you build them. Likely you cannot use those packages until they are updated and use that architecture. You can fix the linker error by goin…
appium1.5后不支持find_element_by_name元素定位方法,会抛如下错误 org.openqa.selenium.InvalidSelectorException: Locator Strategy 'name' is not supported for this session 解决方法如下: 找到appium\node_modules\appium-android-driver\build\lib\driver.js 文件,修改以下内容,增加'name' mac在(/us…