SplitLayoutElement
Playwright element wrapper for<vaadin-split-layout> providing helpers to read/change orientation, access primary/secondary content, and control splitter position.
Component Tag
vaadin-split-layout
Implements
HasStyleElement- CSS class and style managementHasThemeElement- Theme variant support
Constructor
Locator
required
Playwright locator for the
<vaadin-split-layout> elementStatic Factory Methods
get
Get the first split layout on the page.Page
Playwright page
Content Locators
getPrimaryLocator
Locator for the primary content (slot="primary").
getSecondaryLocator
Locator for the secondary content (slot="secondary").
getHandleLocator
Locator for the splitter handle (shadowpart="handle").
Methods
dragSplitterBy
Drag the splitter by a delta offset in pixels. Positive X moves right, positive Y moves down.double
Horizontal offset in pixels (positive = right)
double
Vertical offset in pixels (positive = down)