1.0.0 • Published 8 months ago
@hreflang-checker/playwright v1.0.0
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();
});
1.0.0
8 months ago