Recently my team has been implementing Windows API into our framework and moving away from Selenium. So far I have found many benefits to functional browser testing with Windows API over Selenium. The most significant benefit is the ease of debugging without using a Selenium Driver instance.
Writing unit tests for specific functionality with our WAPI framework is much easier and quicker than using Selenium. If I am debugging with Selenium and reach an error I have to recreate an instance of the driver, reload the page, and navigate back to the specific web page to continue testing my code.
I have two questions. The first is, am I going about debugging in Selenium the wrong way and is there an easier way to do it? My second question is, has anyone else noticed this and if so why continue to use Selenium?