Skip to content

Unable to open html file using disk path #153

@skyhirider

Description

@skyhirider

When I call

driver.get("C:\\Users\\User\\Path\\HtmlUnit-tests\\src\\test\\resources\\scrollTable.html");

I get

java.io.IOException: Unable to create URI from URL: c:\Users\User\Path\HtmlUnit-tests\src\test\resources\scrollTable.html (reason: Illegal character in path at index 5: c:///\Users\User\Path\HtmlUnit-tests\src\test\resources\scrollTable.html)

Running on Windows.

The Firefox driver can open this path without issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions