## Breadcrumbs Testkit

### Import

- unidriver: `import { BreadcrumbsUniDriver } from '@wix/design-system/dist/testkit/unidriver';`
- vanilla: `import { BreadcrumbsTestkit } from '@wix/design-system/dist/testkit';`
- puppeteer: `import { BreadcrumbsTestkit } from '@wix/design-system/dist/testkit/puppeteer';`
- playwright: `import { BreadcrumbsTestkit } from '@wix/design-system/dist/testkit/playwright';`

### API

### exists
- signature: exists()
- returns: Promise<boolean>
- description: Checks whether the component found with the given data hook

### element
- signature: element()
- returns: Promise<any>
- description: Gets the component root element

### click
- signature: click()
- returns: Promise<void>
- description: Clicks on the component root element

### base
- signature: base()
- returns: UniDriver
- description: Returns UniDriver for the base element

### breadcrumbsLength
- signature: breadcrumbsLength()
- returns: Promise<number>
- description: Gets number of breadcrumbs

### breadcrumbContentAt
- signature: breadcrumbContentAt(position)
- returns: Promise<string>
- description: Gets breadcrumb content at position

### clickBreadcrumbAt
- signature: clickBreadcrumbAt(position)
- returns: Promise<void>
- description: Clicks on breadcrumb at position

### getActiveItemId
- signature: getActiveItemId()
- returns: Promise<number | >
- description: Gets the active breadcrumb position or null if no breadcrumb is active

### isLarge
- signature: isLarge()
- returns: Promise<boolean>
- description: Checks whether breadcrumbs are size large

### isSmall
- signature: isSmall()
- returns: Promise<boolean>
- description: Checks whether breadcrumbs are size small

### isMedium
- signature: isMedium()
- returns: Promise<boolean>
- description: Checks whether breadcrumbs are size medium

### isOnWhiteBackground
- signature: isOnWhiteBackground()
- returns: Promise<boolean>
- description: Checks whether breadcrumbs are on white background

### isOnGrayBackground
- signature: isOnGrayBackground()
- returns: Promise<boolean>
- description: Checks whether breadcrumbs are on gray background

### isOnDarkBackground
- signature: isOnDarkBackground()
- returns: Promise<boolean>
- description: Checks whether breadcrumbs are on dark background

### isActiveLinkAt
- signature: isActiveLinkAt(index)
- returns: Promise<boolean>
- description: Checks whether breadcrumb at index is active
