Search code examples
testingopenidseleniumbrowser-automation

How to test logging in with openid using Selenium


Is there a way to test logging into a site with open id using Selenium?

In Selenium all the tests live in the server, so once filled the open id URL in the appropriate field in the web page I am taken to the 3rd party web page for entering the credentials and my test can't run anymore.

Is there a way around this?


Solution

  • Yes - use Selenium RC. It gets around the cross-domain problem of basic Selenium Core and allows you to script against multiple sites.