Join 500+ Software Testing professionals. Solve problem and get your problem solved. Register Now!

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

Open 1 Answers 35 Views
0 1
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 by (202 points)

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.