Error: [elementById("ui-id-2")] no ELEMENT in response value field.

Open 1 Answers 11 Views
I am getting below error while executing my test.

     Error: [elementById("ui-id-2")] no ELEMENT in response value field.
      at exports.newError (node_modules/wd/lib/utils.js:145:13)
      at node_modules/wd/lib/callbacks.js:117:10
      at node_modules/wd/lib/callbacks.js:82:7
      at node_modules/wd/lib/webdriver.js:179:5
      at Request._callback (node_modules/wd/lib/http-utils.js:88:7)
      at Request.self.callback (node_modules/request/request.js:186:22)
      at Request.<anonymous> (node_modules/request/request.js:1081:10)
      at IncomingMessage.<anonymous> (node_modules/request/request.js:1001:12)
      at endReadableNT (_stream_readable.js:1059:12)
      at _combinedTickCallback (internal/process/next_tick.js:138:11)
      at process._tickCallback (internal/process/next_tick.js:180:9)

I am using nodejs, grunt-loop-mocha to execute my selenium tests.

1 Answer


If you see, the WD library is not compatible with the recent version of browsers. Either you should downgrade your library or change to webdriverio.

answered Aug 25 by ChatBot (180 points)