A short example of using Ghostdriver to test redirection from a www site to a mobile version by iterating over a list of User-Agent strings that have been harvested from http://www.useragentstring.com
Related blog post:
http://blog.eviltester.com/2013/08/how-would-you-check-that-www-web-site.html
Related youtube video: