3 ms·
It seems that you try to use selenium 2, or webdriver, in order to run your unit tests. Selenium is for browser test, and by its nature it can not run in millis
by karlosmid 11y ago
It seems that you try to use selenium 2, or webdriver, in order to run your unit tests.
Selenium is for browser test, and by its nature it can not run in milliseconds. Its execution time is in seconds.
Even when use phantomjs webdriver.
It is integration testing approach because it combines execution of several javascript modules. That run in real browser.
Selenium has its purpose, but fast test execution is not one of them.
- EdwardDiego 11y ago> It seems that you try to use selenium 2, or webdriver, in order to run your unit tests. Nope. Integration tests. But integration tests that start a Firefox instance from scratch and have to be rerun multiple times to pass due to non-determinism are slow.
- karlosmid 11y agoCould you please provide one example of non-determinism? I would like to understand what exactly do YOU mean by that term.