I want to use Selenium WebDriver on a webpage that I have on my hard disc. I\'ve tried to something like:
selenium =
For those of us using java.nio, we can also do the following:
java.nio
webdriver.get("file:\\\\\\" + filePath);
...where filePath is an object of type java.nio.file.Path and represents an absolute path.
filePath
java.nio.file.Path