@Test
  public void openPrefixARelativeURLWithTheBaseURLEvenWhenItStartsWithASlash() {
    final WebDriverBackedSelenium selenium;
    final WebDriver driver = mock(WebDriverWithJs.class);

    selenium = new WebDriverBackedSelenium(driver, "http://a.base.url:3000");
    selenium.open("/relative/path/starting_with_a_slash");

    verify(driver).get("http://a.base.url:3000/relative/path/starting_with_a_slash");
  }
  @Test
  public void openDoesNotPrefixAURLIncludingHttpsProtocol() {
    final WebDriverBackedSelenium selenium;
    final WebDriver driver = mock(WebDriverWithJs.class);

    selenium = new WebDriverBackedSelenium(driver, "http://a.base.url:3000");
    selenium.open("https://a.url/with/protocol.info");

    verify(driver).get("https://a.url/with/protocol.info");
  }
  @Test
  public void openPrefixARelativeURLWithTheBaseURL() {
    final WebDriverBackedSelenium selenium;
    final WebDriver driver = mock(WebDriverWithJs.class);

    selenium = new WebDriverBackedSelenium(driver, "http://a.base.url:3000");
    selenium.open("a/relative/path");

    verify(driver).get("http://a.base.url:3000/a/relative/path");
  }