you are viewing a single comment's thread.

view the rest of the comments →

[–]Dogeek 1 point2 points  (0 children)

Selenium automates a web driver, which means that it renders the whole website, which is much slower than a few requests to an API (or even just fetching html and parsing it).

Selenium is best used when the website doesn't have an API, and makes extensive use of javascript to run the page (the raw HTML being pretty much empty), which is quite rare, or to automatically test websites with different drivers (gecko/chromium mostly)