Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Testing ASP.Net 5 UI with a Headless Browser (that works on Windows, Mac, and Linux)

Does anyone know if it is possible to use a headless browser to test the UI of an ASP.net 5 application that targets dnxcore50? Right now I can build an application that you can develop and run on Windows, Mac, and Linux. However, you can't run the UI tests because they need browser automation solution like Selenium.

like image 866
StewartArmbrecht Avatar asked Nov 10 '22 03:11

StewartArmbrecht


1 Answers

You will have exactly the same issues as any other web frameworks.

You could potentially use PhantomJS to do exactly that.

phantomjs has a Windows and OSX build. But at the time of this writing, you would need to compile a Linux version yourself.

like image 76
Maxime Rouiller Avatar answered Nov 14 '22 22:11

Maxime Rouiller