Run tests on a project under the same solution that runs on localhost Selenium

How to run Selenium tests in the main project if the main and test projects are in the same solution and work on localhost?

+4
source share
1 answer

You can deploy the mvc website to IIS (local / remote) and use the URL in selenium to invoke your project. e.g. driver.get (" http: //localhost/website/default.aspx ")

+2
source

Source: https://habr.com/ru/post/1619771/


All Articles