Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start running webdriver tests #13261

Closed
wants to merge 9 commits into from

Do not treat a prefix of / as a real URL prefix.

  • Loading branch information
jdm committed Sep 13, 2016
commit 3c0471134fb483bea7ccd6668c921361cd09024d
@@ -177,7 +177,7 @@ def __init__(self, host, port, url_prefix="", port_timeout=60):
self.host = host
self.port = port
self.port_timeout = port_timeout
if url_prefix == "":
if url_prefix == "" or url_prefix == "/":
self.path_prefix = "/"
else:
self.path_prefix = "/%s/" % url_prefix.strip("/")
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.