POM = Page Object Model[1] [1] https://www.browserstack.com/guide/page-object-model-in-sele...
Why would someone not spell that out in the title, I wonder.
Ask HN: Would you be interested in POM generator for Selenium?
11–20 of 35 posts
Re: Ask HN: Would you be interested in POM generator for Selenium?
#12Given that I don’t know what this is, and that Selenium’s API is well-known to promote flakey tests (it’s flakey by default and needs layers of abstractions to add waits, delays, etc), I’d stay away.
Aren't all E2E test frameworks flaky by default? When you're testing the end user experience that goes through multiple layers of services, I think that should be expected. Would love to learn from your experiences on any better frameworks you might have used, though!
Re: Ask HN: Would you be interested in POM generator for Selenium?
#13Earlier quoted context omitted.
Aren't all E2E test frameworks flaky by default? When you're testing the end user experience that goes through multiple layers of services, I think that should be expected. Would love to learn from your experiences on any better frameworks you might have used, though!
We’re using Hurl [1] at work for integration tests with very good success. We’ve eliminated false positive or flacky tests: it’s a simple tool that runs HTTP requests and you can add asserts on responses. It’s as if you would test your app with curl, very fast and reliable. On the other hand, contrary to Selenium, there is no Javascript engine so you can only test the “raw” DOM or json response sent by the network (a…
API/request level testing is great when appropriate, but testing what happens in browser won't be possible without using something like selenium, nightwatch or playwright
Re: Ask HN: Would you be interested in POM generator for Selenium?
#14Earlier quoted context omitted.
We’re using Hurl [1] at work for integration tests with very good success. We’ve eliminated false positive or flacky tests: it’s a simple tool that runs HTTP requests and you can add asserts on responses. It’s as if you would test your app with curl, very fast and reliable. On the other hand, contrary to Selenium, there is no Javascript engine so you can only test the “raw” DOM or json response sent by the network (a…
Seems hurl is quite a different thing than browser automation though? API/request level testing is great when appropriate, but testing what happens in browser won't be possible without using something like selenium, nightwatch or playwright
On the other hand, you can also easily test use cases where the browser is “helping” you (for instance, you want to test that your backend didn’t accept an invalid email, but your HTML form has HTML5 validation that prevents a user to enter an invalid email). Or you want to test HttpsOnly cookie attributes. But it can’t do UI integration tests.
Re: Ask HN: Would you be interested in POM generator for Selenium?
#15For selenium? No absolutely not in fact I would happily pay someone to not add to the horror that is selenium. I would however be interested in a POM generator for Cypress or Web Driver.
I still think any E2E test tooling will have the same issues and be simply horrible.
Re: Ask HN: Would you be interested in POM generator for Selenium?
#16Given that I don’t know what this is, and that Selenium’s API is well-known to promote flakey tests (it’s flakey by default and needs layers of abstractions to add waits, delays, etc), I’d stay away.
Aren't all E2E test frameworks flaky by default? When you're testing the end user experience that goes through multiple layers of services, I think that should be expected. Would love to learn from your experiences on any better frameworks you might have used, though!
Re: Ask HN: Would you be interested in POM generator for Selenium?
#17For selenium? No absolutely not in fact I would happily pay someone to not add to the horror that is selenium. I would however be interested in a POM generator for Cypress or Web Driver.
So is really Cypress/Puppeteer/Playwright much more stable than Selenium. I still think any E2E test tooling will have the same issues and be simply horrible.
Re: Ask HN: Would you be interested in POM generator for Selenium?
#18Re: Ask HN: Would you be interested in POM generator for Selenium?
#19Given that I don’t know what this is, and that Selenium’s API is well-known to promote flakey tests (it’s flakey by default and needs layers of abstractions to add waits, delays, etc), I’d stay away.
Re: Ask HN: Would you be interested in POM generator for Selenium?
#20It was a time when I had to test an IE6-only enterprise web tool, And there was no option to copy CSS-selector in Chrome/Firefox. I am not working in UI automation anymore (sad :( ) and lost interest in this project, but I think having a tool to record page objects and generate some smart automation code can still be quite helpful.