0

The chrome browser version is Version 115.0.5790.171 and downloaded chrome driver version is 114 [![enter image description here][1]][1]

as driver version 115 is not available.

I'm using the x-path and checked the x-path is correct or not in developer tool under console section it is correct. Even tried absolute path given by Automation Tester but still getting as No such element is found [![enter image description here][2]][2]

[![enter image description here][3]][3]

This x-path is getting due to chrome browser version is 115 and chrome driver version is 114 using due to unavailable.

Could someone please help me [1]: https://i.sstatic.net/RnSVN.png [2]: https://i.sstatic.net/ydrhs.png [3]: https://i.sstatic.net/hXedl.png

1
  • apparently the new web driver for chrome 115.0.5790.171 hasn't been added yet the latest version of web driver is 115.0.5790.170 Aug 5, 2023 at 12:42

1 Answer 1

0
  1. The newer version of ChromeDriver are normally available at https://googlechromelabs.github.io/chrome-for-testing/ page:

    enter image description here

  2. It might be the case you're trying to find the element which is not in DOM yet, consider using Explicit Wait

  3. It might be the case the element is not displayed in the viewport, you might need to maximize the browser window

  4. It might be the case you're trying to find the element which resides in an iframe or in Shadow DOM, in this case you first need to switch to that frame or ShadowRoot beforehand.

More information: How to Automate Selenium UI Tests

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.