tito / telenium

Automation for Kivy Application
MIT License
67 stars 23 forks source link

Fix incorrect XPATH indexing in path_to method #27

Open Hubix9 opened 1 year ago

Hubix9 commented 1 year ago

Hi, I've stumbled upon this (https://github.com/tito/telenium/issues/23) issue while checking out the library and noticed that there was no solution implemented despite an idea for a fix. So I implemented it locally and checked if it works. There was a need to reverse the filtered child list from what I had noticed during testing, so I implemented that too.

Let me know if this PR is ok or if there is something that I should change.