News for hackers. Stuff that matters.
Re:Using Python and Selenium for automated visual regression... by zmmmmm on Wednesday February 12, 2020 @06:08PM (#22313786)
Yes, using bare selenium is a writeoff, especially if you are testing modern frameworks like React or VueJS which dynamically modify the DOM.

You need firstly a framework that understands these technologies and then on top of that you want something that offers a structure to capture the common actions and build an automatable view of a page.

For these requirements I have used Geb [1] with the Page Object Model approach with reasonable success - but you still have to approach writing your tests as actual software, not ad hoc random scripting.

[1] https://gebish.org/

Re:Using Python and Selenium for automated visual regression... by sumedh on Wednesday February 12, 2020 @07:18PM (#22314228)
Have you looked at cypress?
Re:Using Python and Selenium for automated visual regression... by bluntfang on Thursday February 13, 2020 @01:52PM (#22320282)
cypress is a non-starter for end-to-end testing until it supports the WebDriver W3C spec.

I hear it's great for unit testing javascript though.