## SocialPreview Testkit

### Import

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

### getTitle
- signature: getTitle()
- description: Get SocialPreview title

### getPreviewUrl
- signature: getPreviewUrl()
- description: Get SocialPreview url

### getDescription
- signature: getDescription()
- description: Get SocialPreview description

### getSkin
- signature: getSkin()
- description: Get SocialPreview skin

### getSize
- signature: getSize()
- description: Get SocialPreview size
