我刚刚下载了Mac Mojave的selenium-side-runner。我正在尝试使用test.side文件针对Chrome运行测试,但是测试失败。我的问题是,我怎样才能让Selenium输出有关哪行失败(或其找不到的元素)的特定信息?现在,它仅显示此...
localhost:selenium davea$ PATH=/Users/davea/Documents/workspace/starter_project/selenium/:$PATH selenium-side-runner -c "browserName=chrome" myTest.side
info: Running myTest.side
FAIL ./DefaultSuite.test.js (7.737s)
Default Suite
✕ PostSpike (5066ms)
● Default Suite › PostSpike
ElementNotInteractableError: element not interactable
(Session info: chrome=75.0.3770.142)
at Object.throwDecodedError (../../../../../../../usr/local/lib/node_modules/selenium-side-runner/node_modules/selenium-webdriver/lib/error.js:550:15)
at parseHttpResponse (../../../../../../../usr/local/lib/node_modules/selenium-side-runner/node_modules/selenium-webdriver/lib/http.js:560:13)
at Executor.execute (../../../../../../../usr/local/lib/node_modules/selenium-side-runner/node_modules/selenium-webdriver/lib/http.js:486:26)
at Driver.execute (../../../../../../../usr/local/lib/node_modules/selenium-side-runner/node_modules/selenium-webdriver/lib/webdriver.js:699:17)
Test Suites: 1 failed, 1 total
Tests: 1 failed, 1 total
Snapshots: 0 total
Time: 7.904s, estimated 8s
Ran all test suites.