4 ms·
> Selenium > Playwright (coming soon) Why people still use Selenium? My brief experience with it was awful.
by dzhiurgis 4y ago
> Selenium
> Playwright (coming soon)
Why people still use Selenium? My brief experience with it was awful.
- sz4kerto 4y agoIt works? We have an extensive set of Selenium-based tests (something like 5k of them), and it's fine. Why should we switch?
- rat9988 4y agoFor selenium, "it works" is not a constant.
- Aeolun 4y agoNot for Cypress either. I’m fairly certain it is just the nature of the beast.
- tester756 4y agoI had like 50 Selenium-based tests and false-negatives were really common. So I had to rerun tests a few times sometimes.
- rad_gruchalski 4y agoI know people who have Java tests that sometimes work, sometimes don’t. That usually speaks for the quality of a test itself.
- tester756 4y agoWhat do you mean?
- fulafel 4y agoIt's a library and not a framework. Besides the inherent superiority of libraries vs hollywood-principle frameworks, this lets you just import "from selenium import webdriver" in your code and have a programmable browser that you can use in various ways. For example here's how to use it to - download files with a browser: https://selenium-python.readthedocs.io/faq.html#how-to-auto-save-files-using-custom-firefox-profile https://selenium-python.readthedocs.io/faq.html#how-to-auto-... - grab screenshot of a site: https://selenium-python.readthedocs.io/faq.html#how-to-take-screenshot-of-the-current-window https://selenium-python.readthedocs.io/faq.html#how-to-take-...
- Tajnymag 4y agoI would say universality. Selenium's webdriver has bindings to many languages and has more universal browser support, IMHO. But I see your point, downloading webdriver files manually and dealing with element awaiting isn't fun.
- 411111111111111 4y agoReally? Last time I needed browser automation for integration tests i just used selenide (jQuery inspired wrapper for selenium) and called it a day. Had no issues whatsoever running the tests through maven and had a pretty good development experience.