Answer the question
In order to leave comments, you need to log in
Selenium WebDriver vs PhantomJS API?
There is a desire to automate some actions in the online store, can you tell me which is better to choose Selenium WebDriver or PhantomJS?
I know that Selenium WebDriver is a program (driver) for managing any browser, and PhantomJS is a browser, but PhantomJS has its own API and on top of this API there are many ready-made libraries that are more convenient to use by this browser.
What can you advise? I have one criterion - the speed of work
Answer the question
In order to leave comments, you need to log in
if phantom/analogues cover your needs, use them.
selenium runs real browsers, and that has its perks.
In terms of speed, there is nothing better than Chrome. To be more precise, in most cases the difference between Chrome / Firefox is minimal, but PhantomJS is much inferior to them. The only question is what kind of performance will be enough for you: if there is no need to win any 1 ms on each action, then take what will be more convenient to work with, but if the performance issue is critical, then you can not look towards PhantomJS.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question