Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> OP struggles with XPaths in complex DOMs.

A lot of the selenium code I have run up on people try and get the exact element they want on the first try and repeat the process several times instead of doing something like searching for a div, form, or some parent element that has all their elements then all they need is to search relative xpaths from that element.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: