I happened to encounter this issue when I tried to turn my tests from using separate Browser instance for each test to single browser instance for each suite. After one of the tests ends, several other tests fail with java.net.URISyntaxException. After investigating, it seems that URL in the browser generated by angular is not a valid url to convert to URI, so when calling:
browser.to MyPage
I receive the exception once it gets to the "Browser.go" method and it tries to convert currentUrl to URI:
currentUri = currentUrl ? new URI(currentUrl) : null -> this will throw java.net.URISyntaxException
I report this as an issue, because I believe the fact that currentURL cannot be converted to URI should not end in complete failure and instead "Browser.go" method should continue (as it does for NullPointerException)
I happened to encounter this issue when I tried to turn my tests from using separate Browser instance for each test to single browser instance for each suite. After one of the tests ends, several other tests fail with java.net.URISyntaxException. After investigating, it seems that URL in the browser generated by angular is not a valid url to convert to URI, so when calling:
browser.to MyPageI receive the exception once it gets to the "Browser.go" method and it tries to convert currentUrl to URI:
currentUri = currentUrl ? new URI(currentUrl) : null-> this will throw java.net.URISyntaxExceptionI report this as an issue, because I believe the fact that currentURL cannot be converted to URI should not end in complete failure and instead "Browser.go" method should continue (as it does for NullPointerException)