phantomjs://platform/console++.js:263错误

时间:2018-11-07 19:29:48

标签: selenium webdriver phantomjs

选项 硒版本= 2.53.1; PhantomJS = 2.1.x; 平台:Red Hat Enterprise Linux Server 5.3版(Tikanga)

page.settings-{“ XSSAuditingEnabled”:false,“ javascriptCanCloseWindows”:true,“ javascriptCanOpenWindows”:true,“ javascriptEnabled”:true,“ loadImages”:false,“ localToRemoteUrlAccessEnabled”:false,“ userAgent”:“ Mozilla /5.0(未知; Linux x86_64)AppleWebKit / 538.1(KHTML,如Gecko)PhantomJS / 2.1.1 Safari / 538.1“,” webSecurityEnabled“:true} [testng] [INFO-2018-11-07T01:06:34.174Z]会话[5e7f07c0-e229-11e8-abad-5b87e4b84fd0]-page.customHeaders:-{} [testng] [INFO-2018-11-07T01:06:34.174Z]会话[5e7f07c0-e229-11e8-abad-5b87e4b84fd0]- Session.negotiatedCapabilities-{“ browserName”:“ phantomjs”,“ version”:“ 2.1.1”,“ driverName”:“ ghostdriver”,“ driverVersion”:“ 1.2.0”,“ platform”:“ linux-unknown- 64bit“,” javascriptEnabled“:true,” takesScreenshot“:true,” handlesAlerts“:false,” databaseEnabled“:false,” locationContextEnabled“:false,” applicationCacheEnabled“:false,” browserConnectionEnabled“:false,” cssSelectorsEnabled“:true ,“ webStorageEnabled”:false,“可旋转”:false,“ acceptSslCerts”:false,“本机”事件“:true,”代理“:{” proxyType“:”直接“},” phantomjs.page.settings.loadImages“:false} [testng] [INFO-2018-11-07T01:06:34.175Z] SessionManagerReqHand- postNewSessionCommand-创建的新会话:5e7f07c0-e229-11e8-abad-5b87e4b84fd0 [testng] [错误-2018-11-07T01:06:34.962Z]会话[5e7f07c0-e229-11e8-abad-5b87e4b84fd0]-page.onError-msg :语法错误,无法识别的表达式:[testng] [testng] phantomjs://platform/console++.js:263错误[testng] [ERROR-2018-11-07T01:06:34.962Z]会话[5e7f07c0-e229-11e8 -abad-5b87e4b84fd0]-page.onError-堆栈:[testng] querySelectorAll(:0)[testng]

0 个答案:

没有答案