stable (1.2) latest (tip-of-tree) v8-inspector (node) Home Domains Accessibility Animation ApplicationCache Audits Browser CSS CacheStorage Console DOM DOMDebugger DOMSnapshot DOMStorage Database Debugger DeviceOrientation Emulation HeapProfiler IO IndexedDB Input Inspector LayerTree Log Memory Network Overlay Page Performance Profiler Runtime Schema Security ServiceWorker Storage SystemInfo Target Tethering Tracing
Chrome DevTools Protocol Viewer - latest (tip-of-tree)

DeviceOrientation Domain

Experimental

Methods

DeviceOrientation.setDeviceOrientationOverride

Overrides the Device Orientation.

Parameters
alpha
number Mock alpha
beta
number Mock beta
gamma
number Mock gamma

DeviceOrientation.clearDeviceOrientationOverride

Clears the overridden Device Orientation.