Closed AlexKamaev closed 1 year ago
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>gh-1999</title> <style> button { position: fixed; bottom: 10px; left: 0; } </style> </head> <body> <button>click me</button> <div id="logger"></div> <script> document.querySelector('button').addEventListener('click', function () { document.querySelector('#logger').innerHTML = 'OK'; }); </script> </body> </html>
import { Selector } from 'testcafe'; fixture`New Fixture` .page `test.html` test('iFrameIssue', async t => { await t.click('button'); await t.expect(Selector('#logger').innerText).eql('OK'); });
Release v2.3.1-rc.1 addresses this.