Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 98814

Change device orientation using Appium and C#

$
0
0

Is there a way to change orientation using e.g. Driver class like this:

private void SetDeviceOrientation(string mode)
        {
            switch (mode)
            {
                case ("Landscape"):
                    driver.Rotate(ScreenOrientation.Landscape);

Viewing all articles
Browse latest Browse all 98814

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>