On Fri, Feb 15, 2013 at 3:56 PM, A Ragavan <[email protected]> wrote:

> but if i want to change the orientation at run time, i see that
> http://selenium.googlecode.com/svn/trunk/docs/api/rb/Selenium/WebDriver/Remote/Capabilities.htmldoes
>  not have any option to choose the orientation at run
> time. webdriver.DesiredCapabilities has something like 'deviceOrientation'.
>

Try this:

caps[:deviceOrientation] = 'landscape'

More information:

http://sauceio.com/index.php/2012/08/testing-your-site-with-mac-os-ios-and-android/

Željko
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development

Reply via email to