Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/
Selenium with TestNG blends much better.
As TestNG provides flexibility to do
Above cannot be done via JUnit. Those features were missing on JUnit at first place. That's why TestNG came into the picture at first place.
So, TestNG with Selenium is the much better choice.
You can check out detailed answers here
https://softwaretestingboard.com/qna/2517/why-do-we-use-testng-rather-than-junit-and-nunit?show=2517#q2517
This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!
1.4k questions
1.6k answers
866 comments
1.9k users