0

如何在 android 浏览器中运行 selenium 测试脚本我收到一条错误消息说明

org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure. Build info: version: '2.32.0', revision: '6c40c18', time: '2013-04-09 17:22:56'
System info: os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.7.0_07'

作为先决条件,我已成功安装 webDriver APK

adb -s 4df7e035582e21e3 forward tcp:8080 tcp:8080

但是在运行我的测试脚本时,它会引发上述错误“无法启动新会话。可能的原因是远程服务器的地址无效或浏览器启动失败”

谁能帮我吗

谢谢

4

0 回答 0