How can I make selenium test cases run faster?

TestOrigen Software Services Pvt. Ltd.
TestOrigen Software Services Pvt. Ltd. used Ask the Experts™
on
I just wanted to know How can I make selenium test cases run faster?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Microsoft ISV Partner
Commented:
use fast selectors
use fewer locators
create atomic tests
dont test the same functionality twice
write good tests
use only explicit waits
use the chrome driver
use drivers for headless browsers
re-use the browser instance
run scripts in parallel
use HTTP parse libraries
pre-populate cookies
do not load images in the web page

https://seleniumjava.com/2015/12/12/how-to-make-selenium-webdriver-scripts-faster/
TomMicrosoft ISV Partner

Commented:
All solutions provided

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial