## FloatingNotification Testkit

### Import

- unidriver: `import { FloatingNotificationUniDriver } from '@wix/design-system/dist/testkit/unidriver';`
- vanilla: `import { FloatingNotificationTestkit } from '@wix/design-system/dist/testkit';`
- puppeteer: `import { FloatingNotificationTestkit } from '@wix/design-system/dist/testkit/puppeteer';`
- playwright: `import { FloatingNotificationTestkit } 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

### clickButton
- signature: clickButton()
- description: Clicks notification button.

### getButtonLabel
- signature: getButtonLabel()
- description: Get the notification button's text.

### clickTextButton
- signature: clickTextButton()
- description: Clicks the notification text button.

### getTextButtonLabel
- signature: getTextButtonLabel()
- description: Get the notification text button's text

### clickCloseButton
- signature: clickCloseButton()
- description: Clicks the notification close button

### getText
- signature: getText()
- description: Get the notification text.

### isButtonAs
- signature: isButtonAs(as)
- description: Checks whether button with passed tag name exists.

### getButtonHref
- signature: getButtonHref()
- description: Get the notification button href attribute's value.

### getButtonAttr
- signature: getButtonAttr(attrName)
- description: Get the notification button attribute's value by name.

### isTextButtonAs
- signature: isTextButtonAs(as)
- description: Checks whether text button with passed tag name exists.

### getTextButtonHref
- signature: getTextButtonHref()
- description: Get the notification text button href attribute's value.

### getTextButtonAttr
- signature: getTextButtonAttr(attrName)
- description: Get the notification text button attribute's value by name.
