r/selenium • u/Beneficial-Bite-958 • 25d ago
Selenium Xpath
Can anyone help in writing unique & generic Xpath for Flipkart travel date
0
Upvotes
r/selenium • u/Beneficial-Bite-958 • 25d ago
Can anyone help in writing unique & generic Xpath for Flipkart travel date
View all comments
2
u/Pauloedsonjk 25d ago
Tips: 1.You can test in chrome dev tools with :
$x('your xpath')[0]
2.You can paste html in chat gpt and type generate xpath with contains by text
3. In devtools is copy generic xpath element