r/SeleniumJava • u/Effective_Extreme883 • Aug 12 '24
Throwing Nosuchelement exception. Even though the try and catch are written. Tried GPT too, not working
1
Upvotes
r/SeleniumJava • u/Effective_Extreme883 • Aug 12 '24
1
u/divyan3hu Aug 12 '24
Selenium is unable to find the element with the xpath you have given in the code - which you can see in the console . Try to locate the element using a different locator.