@hreflang-checker/playwright
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

hreflang-checker

Easily check your hreflangs are valid using Playwright

Installation

npm install @hreflang-checker/playwright
// playwright.config.ts
import '@hreflang-checker/playwright';

Usage/Examples

test(`hreflang for https://myurl.com is valid`, async ({ page }) => {
    await page.goto('https://myurl.com');
    await expect(page).toHaveValidHreflangs();
});

Readme

Keywords

Package Sidebar

Install

npm i @hreflang-checker/playwright

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

3.02 kB

Total Files

5

Last publish

Collaborators

  • bmpickford