Try using this method:
webdriver.get("file:///D:/folder/abcd.html");
(or)
selenium = new WebDriverBackedSelenium(driver, "file:///D:/folder/abcd.html");
Related Contents:
- How to construct a relative path in Java from two absolute paths (or URLs)?
- Convert URL to normal windows filename Java
- javac is not recognized as an internal or external command, operable program or batch file [closed]
- Wait for page load in Selenium
- Simplest way to read JSON from a URL in Java
- Create whole path automatically when writing to a new file
- Java: Path vs File
- java.net.URLEncoder.encode(String) is deprecated, what should I use instead?
- How to get parameters from the URL with JSP
- How to use a servlet filter in Java to change an incoming servlet request url?
- Pass a local file in to URL in Java
- Test if element is present using Selenium WebDriver?
- WebDriver: check if an element exists? [duplicate]
- Preferred Java way to ping an HTTP URL for availability
- Check if a path represents a file or a folder
- stale element reference: element is not attached to the page document
- Does Java have a path joining method? [duplicate]
- Ant path style patterns
- InputStream from a URL
- How to open a new tab using Selenium WebDriver in Java?
- How do I make an http request using cookies on Android?
- What is the idiomatic way to compose a URL or URI in Java?
- How to get current working directory in Java?
- Selenium WebDriver: Wait for complex page with JavaScript to load
- How can I ask the Selenium-WebDriver to wait for few seconds in Java?
- Selenium 2.53 not working on Firefox 47
- How to force Selenium WebDriver to click on element which is not currently visible?
- How to select/get drop down option in Selenium 2
- How to check the extension of a Java 7 Path
- How to switch to the new browser window, which opens after click on the button?
- Selenium webdriver: Modifying navigator.webdriver flag to prevent selenium detection
- How can I append a query parameter to an existing URL?
- How can I check if an element exists with Selenium WebDriver? [duplicate]
- WebDriver – wait for element using Java
- How to access a sub-file/folder in Java 7 java.nio.file.Path?
- Find div element by multiple class names?
- When to use ** (double star) in glob syntax within JAVA
- How to extract HTTP status code from the RestTemplate call to a URL?
- org.openqa.selenium.WebDriverException: unknown error: call function result missing ‘value’
- InputStream from relative path
- How to select a dropdown value in Selenium WebDriver using Java
- Safe use of HttpURLConnection
- How to make Selenium wait until an element is present?
- How to handle windows file upload using Selenium WebDriver?
- Driver executable must be set by the webdriver.ie.driver system property
- Correct way to focus an element in Selenium WebDriver using Java
- How do I encode URI parameter values?
- How to automate drag & drop functionality using Selenium WebDriver Java
- Remove a trailing slash from a string(changed from url type) in JAVA
- Detect and extract url from a string?