移动测试基础 testng+po 模式 +log4j+appuim+java 遇到的问题

努力努力再努力 · November 18, 2019 · 469 hits

1.夜神模拟器5.1+idea+selenium3.4+java-client5.0
具体报错org.openqa.selenium.InvalidSelectorException: Locator Strategy 'css selector' is not supported for this session
For documentation on this error, please visit: http://seleniumhq.org/exceptions/invalid_selector_exception.html
Build info: version: '3.4.0', revision: 'unknown', time: 'unknown'
System info: host: 'DESKTOP-6O25FTG', ip: '172.16.16.134', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_172'
Driver info: io.appium.java_client.android.AndroidDriver
Capabilities [{appPackage=com.sankuai.meituan, deviceScreenSize=720x1280, networkConnectionEnabled=true, statBarHeight=38.0, warnings={}, viewportRect={top=38.0, left=0.0, width=720.0, height=1242.0}, databaseEnabled=false, deviceName=127.0.0.1:62001, platform=LINUX, deviceUDID=127.0.0.1:62001, appActivity=com.sankuai.meituan.activity.MainActivity, desired={appPackage=com.sankuai.meituan, appActivity=com.sankuai.meituan.activity.MainActivity, platformVersion=5.1, browserName=, platformName=Android, deviceName=127.0.0.1:62001}, platformVersion=5.1.1, pixelRatio=1.5, webStorageEnabled=false, locationContextEnabled=false, takesScreenshot=true, browserName=, javascriptEnabled=true, deviceScreenDensity=240.0, deviceModel=HUAWEI MLA-AL10, platformName=Android, deviceApiLevel=22.0, deviceManufacturer=HUAWEI}]
Session ID: cf1cf954-2190-4ce4-8669-b90828e7bf49
*** Element info: {Using=id, value=com.sankuai.meituan:id/citylist_search}

共收到 0 条回复 时间 点赞
1Floor has been deleted
2Floor has been deleted
努力努力再努力 关闭了讨论 20 Nov 10:24
努力努力再努力 重新开启了讨论 20 Nov 10:24
努力努力再努力 关闭了讨论 22 Nov 21:48
需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up