## GooglePreview Testkit

### Import

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

### getPreviewUrl
- signature: getPreviewUrl()
- description: Get the current count

### getTitle
- signature: getTitle()
- description: Click the button

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

### getSiteName
- signature: getSiteName()
- description: Get site name

### titleMouseEnter
- signature: titleMouseEnter()
- description: Triggers title mouse enter

### titleMouseLeave
- signature: titleMouseLeave()
- description: Triggers title mouse leave

### descriptionMouseEnter
- signature: descriptionMouseEnter()
- description: Triggers description mouse enter

### descriptionMouseLeave
- signature: descriptionMouseLeave()
- description: Triggers description mouse leave

### clickWebsiteInfo
- signature: clickWebsiteInfo()
- description: Clicks on the website info section

### clickTitle
- signature: clickTitle()
- description: Clicks the title

### clickDescription
- signature: clickDescription()
- description: Clicks the description

### isWebsiteInfoTooltipEnabled
- signature: isWebsiteInfoTooltipEnabled()
- description: Returns true if website info section has a tooltip

### isWebsiteInfoTooltipExists
- signature: isWebsiteInfoTooltipExists()
- description: Returns true if website info section tooltip exists on the DOM

### getWebsiteInfoTooltipContent
- signature: getWebsiteInfoTooltipContent()
- description: Returns content of website info section tooltip

### websiteInfoTooltipMouseEnter
- signature: websiteInfoTooltipMouseEnter()
- description: Triggers tooltip mouse enter
