How to Make Selenium Web Driver Scripts Faster
Many companies use today Selenium Web Driver for automating their web test cases. This is not a surprise because the Selenium Web Driver framework is • Free • Open source • Language independent • Operating System independent But the Selenium WebDriver scripts are typically slow . What follows is a list of suggestions for making your Selenium WebDriver scripts faster . Most of the suggestions work all the time. Some of them work only in specific situations. These suggestions can be used independently or together. The Selenium Web Driver scripts are very slow because they run through the browser. There are multiple things that can improve the Selenium WebDriver scripts’ speed: 1. use fast selectors 2. use fewer locators 3. create atomic tests 4. don’t test the same functionality twice ...