sebuilder/se-builder — pull request #45 by nbertram (2013-03-15 00:22:03+00:00)
Title: Patch to not mangle absolute URLs when parsing Selenium 1 HTML suites

As per http://release.seleniumhq.org/selenium-core/1.0.1/reference.html the Selenium RC open() command supports either a relative or absolute URL, but code in selenium1/adapter.js prefixes all open() params with baseURL, which leads to things like http://example.com/http://example.com/foo, which isn't ideal.

In our cases we make use of variables for the domain, eg http://${mobile_domain}/foo, where we store the variables in an init case of the HTML suite, so we need to be able to open absolute links.

This also fixes round-tripping absolute URLs, which can be entered by editing the target via the UI, but when exported and reimported they get double-prefixed.