Playwright_TS/kiwi/tests/kiwi.spec.ts
Lukáš Kaňka ee1ae6cd35 kiwi
2023-08-15 19:35:41 +02:00

11 lines
318 B
TypeScript

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();
});