Selenium

Selenium ignores base url

I usually record a test on a dev machine, then replay it on the production machine. Sometimes specifying the production machine as the base url just "doesn't work". The base url gets ignored and Selenium opens up my dev machine and proceeds to replay the test there. A bit of googling shed some light on the situation.

Grepping through my test cases, I see output like this:

$ grep '<link' *
test1:<link rel="selenium.base" href="http://dev.example.com/" />
test2:<link rel="selenium.base" href="" />

Syndicate content