コード例 #1
0
 @Override
 public ScreenOrientation getOrientation() {
   return ScreenOrientation.valueOf(
       (String)
           execute(org.openqa.selenium.remote.DriverCommand.GET_SCREEN_ORIENTATION).getValue());
 }
コード例 #2
0
 public ScreenOrientation getOrientation() {
   return ScreenOrientation.valueOf(
       (String) execute(DriverCommand.GET_SCREEN_ORIENTATION).getValue());
 }