I want to use Selenium WebDriver on a webpage that I have on my hard disc. I\'ve tried to something like:
selenium =
This can also be done with a relative file:
Path sampleFile = Paths.get("sample.html"); driver.get(sampleFile.toUri().toString());