| 程序包 | 说明 |
|---|---|
| org.openqa.selenium |
| 限定符和类型 | 方法和说明 |
|---|---|
ScreenOrientation |
Rotatable.getOrientation() |
static ScreenOrientation |
ScreenOrientation.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ScreenOrientation[] |
ScreenOrientation.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Rotatable.rotate(ScreenOrientation orientation)
Changes the orientation of the browser window.
|