We have a bunch of redirects in our Apache configuration. I would like to automate redirect testing using Selenium, which led me to some problems:
Maybe Selenium is not the best solution for this. Any other suggestions?
Selenium-RC , selenium.start("captureNetworkTraffic=true");, HTTP, .
selenium.start("captureNetworkTraffic=true");
- , / . Python, .
URL- selenium.getLocation();
selenium.getLocation();
python,
driver = webdriver.Firefox() print driver.current_url
http://selenium.googlecode.com/svn/trunk/docs/api/py/webdriver_remote/selenium.webdriver.remote.webdriver.html#module-selenium.webdriver.remote.webdriver