trim last slash from urls from WebDriver implementation and not durring web page contructor