Every protractor example I can find on the internet seems to use the browser.get with a web URI.
browser.get('http://localhost:8000');
I'd like to use Selenium to simply navigate to a file:// path so that I don't need a local webserver running in order to perform tests. All I need is a simple HTML page and some assets.
That doesn't seem to work though.
browser.get('file:///Users/myusername/dev/mpproject/spec/support/index.html');
When I paste that URI into my browser window I get an HTML page. When I try to open it with protractor I get a timeout. How can I run tests on this page with a protractor? The ideal answer will work with a relative file path from the myproject root.