Playwright_TS/kiwi/tests/kiwi.spec.ts

11 lines
318 B
TypeScript
Raw Normal View History

2023-08-15 17:35:41 +00:00
import { test, expect } from '@playwright/test';
test('potvrzeni cookie', async ({ page }) => {
await page.goto('https://www.kiwi.com/cz');
await page.locator('[data-test="CookiesPopup-Accept"]').click();
await page.locator("//*[@id='HomePage']/div[2]/div[2]/div[2]/div[1]/div[2]/div[2]/a").click();
});