【发布时间】:2017-04-29 10:33:38
【问题描述】:
在 Eclipse 中面临以下问题。附上日志。请帮助您的建议 1493505852004 geckodriver INFO 监听 127.0.0.1:32725 1493505852739 mozprofile::profile INFO 使用配置文件路径 C:\Users\arora\AppData\Local\Temp\rust_mozprofile.ameyOkKY6RPS 1493505852744 geckodriver::marionette INFO 启动浏览器 C:\Program Files (x86)\Mozilla Firefox\firefox.exe with args [] 1493505852744 geckodriver::marionette INFO 连接到 localhost:53292 上的 Marionette IPDL 协议错误:处理程序返回错误代码!
!!! [Parent][DispatchAsyncMessage] 错误:PLayerTransaction::Msg_ReleaseLayer 处理错误:消息被反序列化,但处理程序返回 false(表示失败)
IPDL 协议错误:处理程序返回错误代码!
!!! [Parent][DispatchAsyncMessage] 错误:PLayerTransaction::Msg_ReleaseLayer 处理错误:消息被反序列化,但处理程序返回 false(表示失败)
[GPU 6784] 警告:管道错误:109:文件 c:/builds/moz2_slave/m-rel-w32-000000000000000000000/build/src/ipc/chromium/src/chrome/common/ipc_channel_win.cc,第 346 行 1493505857734 Marionette INFO 监听端口 53292 2017 年 4 月 29 日下午 3:44:18 org.openqa.selenium.remote.ProtocolHandshake createSession 信息:检测到的方言:W3C 线程“主”org.openqa.selenium.InvalidArgumentException 中的异常:预期 [object Undefined] 未定义为字符串 构建信息:版本:'3.3.1',修订:'5234b32',时间:'2017-03-10 09:04:52 -0800' 系统信息:主机:'SAGAR',ip:'192.168.1.3',os.name:'Windows 8.1',os.arch:'amd64',os.version:'6.3',java.version:'1.8.0_91 ' 驱动信息:org.openqa.selenium.firefox.FirefoxDriver 功能 [{moz:profile=C:\Users\arora\AppData\Local\Temp\rust_mozprofile.ameyOkKY6RPS, rotatable=false, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, platform=任何,规范级别=0,moz:accessibilityChecks=false,acceptInsecureCerts=false,browserVersion=53.0,platformVersion=6.3,moz:processID=6264,browserName=firefox,platformName=windows_nt}] 会话 ID:f85ef783-51ac-4d6b-a228-6835999ae465 在 sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 在 sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) 在 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) 在 java.lang.reflect.Constructor.newInstance(Constructor.java:423) 在 org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:133) 在 org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:99) 在 org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:43) 在 org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:163) 在 org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:82) 在 org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:604) 在 org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:274) 在 org.openqa.selenium.remote.RemoteWebElement.sendKeys(RemoteWebElement.java:98) 在 Gmail.main(Gmail.java:25)
【问题讨论】:
-
提供更多信息: 1. 您的具体测试步骤是什么? 2. 什么对你有用?显示代码。 3 你卡在哪里了? 4.提供相关的HTML DOM。
标签: testing selenium-webdriver web-applications automation