by fareesh · 4y ago · 0 comments
I feel like you could incorporate some of those features into this and eliminate some of the manual entry of css selectors.
UI Vision is unique because it supports visual automation with image recognition and OCR. A bit like Sikuli but inside the browser. This avoids dealing with CSS selectors and XPaths.
https://www.automa.site/ https://github.com/AutomaApp/automa
Best practice is to add test attributes to the HTML elements (such as data-testid="SubmitButton") so if the page is moved around or the button is edited the tests remain stable. There's a lot of good online sources on making UI testing somewhat more reliable :)