Created
November 9, 2021 21:44
-
-
Save MarcusFelling/39760b39af7c261d0acb77407c4e199f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { test, expect } = require('@playwright/test'); | |
test('test', async ({ page }) => { | |
// Go to https://nunzioweb.com/iframes-example.htm | |
await page.goto('https://nunzioweb.com/iframes-example.htm'); | |
// Click img[alt="Killer Klowns From Outer Space"] | |
await page.frame({ | |
url: 'https://nunzioweb.com/001-opacity-example.htm' | |
}).click('img[alt="Killer Klowns From Outer Space"]'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment