Skip to content

Commit be5638c

Browse files
committed
fix javadocs issue
1 parent feca862 commit be5638c

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

src/main/java/aquality/selenium/browser/devtools/EmulationHandling.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -146,18 +146,18 @@ public void setDeviceMetricsOverride(Integer width, Integer height, Number devic
146146
* @param height Value to override window.screen.height
147147
* @param deviceScaleFactor Overriding device scale factor value. 0 disables the override.
148148
* @param mobile Whether to emulate mobile device. This includes viewport meta tag, overlay scrollbars, text auto-sizing and more.
149-
* @param scale Scale to apply to resulting view image. Ignored in |dontSetVisibleSize| is not set.
150-
* @param screenWidth Value to override window.screen.width. Ignored in |dontSetVisibleSize| is not set.
151-
* @param screenHeight Value to override window.screen.height. Ignored in |dontSetVisibleSize| is not set.
152-
* @param positionX Overriding view X position on screen in device independent pixels (dip). Ignored in |dontSetVisibleSize| is not set.
153-
* @param positionY Overriding view Y position on screen in device independent pixels (dip). Ignored in |dontSetVisibleSize| is not set.
154-
* @param dontSetVisibleSize Whether to not set visible view size, rely upon explicit setVisibleSize call. Ignored in |scale| is not set.
155-
* @param screenOrientation Orientation of the screen. This is ignored in |dontSetVisibleSize| is not set.
156-
* @param viewport If set, the visible area of the overridden device screen, not affecting the reported screen size. Ignored in |dontSetVisibleSize| is not set.
157-
* @param displayFeature Configuration of the display when the system is in unified mode (e.g. foldable devices).
158-
* @param devicePosture The posture of the device (e.g. foldable devices).
159-
* @param scrollbarType The type of the scrollbars to render (e.g. mobile vs desktop). Ignored in |dontSetVisibleSize| is not set.
160-
* @param screenOrientationLockEmulation Whether to emulate a focused form control that would cause the virtual keyboard to pop up. Ignored in |dontSetVisibleSize| is not set.
149+
* @param scale Scale to apply to resulting view image. Ignored if |dontSetVisibleSize| is set.
150+
* @param screenWidth Value to override window.screen.width. Ignored if |dontSetVisibleSize| is set.
151+
* @param screenHeight Value to override window.screen.height. Ignored if |dontSetVisibleSize| is set.
152+
* @param positionX Overriding view X position on screen in device independent pixels (dip). Ignored if |dontSetVisibleSize| is set.
153+
* @param positionY Overriding view Y position on screen in device independent pixels (dip). Ignored if |dontSetVisibleSize| is set.
154+
* @param dontSetVisibleSize Whether to not set visible view size, rely upon explicit setVisibleSize call. Ignored if |scale| is set.
155+
* @param screenOrientation Orientation of the screen. Ignored if |dontSetVisibleSize| is set.
156+
* @param viewport If set, the visible area of the overridden device screen, not affecting the reported screen size. Ignored if |dontSetVisibleSize| is set.
157+
* @param displayFeature Configuration of the display when the system is in unified mode (e.g., foldable devices).
158+
* @param devicePosture The posture of the device (e.g., foldable devices).
159+
* @param scrollbarType The type of the scrollbars to render (e.g., mobile vs desktop). Ignored if |dontSetVisibleSize| is set.
160+
* @param screenOrientationLockEmulation Enables screen orientation lock emulation that intercepts calls to screen.orientation.lock().
161161
*/
162162
public void setDeviceMetricsOverride(Integer width, Integer height, Number deviceScaleFactor, Boolean mobile, Optional<Number> scale, Optional<Integer> screenWidth, Optional<Integer> screenHeight, Optional<Integer> positionX, Optional<Integer> positionY, Optional<Boolean> dontSetVisibleSize, Optional<ScreenOrientation> screenOrientation, Optional<Viewport> viewport, Optional<DisplayFeature> displayFeature, Optional<DevicePosture> devicePosture, Optional<Emulation.SetDeviceMetricsOverrideScrollbarType> scrollbarType, Optional<Boolean> screenOrientationLockEmulation) {
163163
tools.sendCommand(Emulation.setDeviceMetricsOverride(width, height, deviceScaleFactor, mobile, scale, screenWidth,

0 commit comments

Comments
 (0)