Re:Web Automation: Don't Use Selenium, Use Playwright
by irjustin on Thursday November 10, 2022 @04:00AM
(#33543933)
Super cool, but to be fair to the author, Clicking does seem easier still.
[ Parent
| on HN ]
Re:Web Automation: Don't Use Selenium, Use Playwright
by mherrmann on Thursday November 10, 2022 @04:41AM
(#33544237)
Until the web site changes and you have to re-record.
Re:Web Automation: Don't Use Selenium, Use Playwright
by CharlieDigital on Thursday November 10, 2022 @04:57AM
(#33544379)
Playwright's selectors are very resilient.
Yes, your copy might change, but that is also a change in spec (whereas a change in DOM is not always a change in spec).
Re:Web Automation: Don't Use Selenium, Use Playwright
by eastendguy on Friday November 11, 2022 @07:46AM
(#33560145)
Yes! Recording xpath works fine in many cases, but once something on the website changes you are left with this auto-generated Xpath that you do not know how to change. Maintaining such a test is a nightmare and a waste of brain-cycles.