Interface: WithDriverOption
Defined in: storybook/src/withDriver.ts:6
Properties​
locator?​
readonlyoptionallocator?:PartLocator
Defined in: storybook/src/withDriver.ts:13
Locator for the driver's root within the story canvas.
Default Value​
the story's root element (:scope > *, the canvas's first
element child). Pass an explicit locator when a decorator wraps the story
in extra DOM or the story renders more than one root element.