Class ScreenOrientationLockChanged
java.lang.Object
org.openqa.selenium.devtools.v147.emulation.model.ScreenOrientationLockChanged
Fired when a page calls screen.orientation.lock() or screen.orientation.unlock()
while device emulation is enabled. This allows the DevTools frontend to update the
emulated device orientation accordingly.
-
Constructor Summary
ConstructorsConstructorDescriptionScreenOrientationLockChanged(Boolean locked, Optional<ScreenOrientation> orientation) -
Method Summary
Modifier and TypeMethodDescriptionWhether the screen orientation is currently locked.The orientation lock type requested by the page.
-
Constructor Details
-
ScreenOrientationLockChanged
-
-
Method Details
-
getLocked
Whether the screen orientation is currently locked. -
getOrientation
The orientation lock type requested by the page. Only set when locked is true.
-