qutebrowser/tests/end2end/data/hints/iframe_target.html
Florian Bruhin 0bdee1e292 Stabilize the flaky iframe test
The test above this one loads hello.txt, but we don't wait for the "load
finished" message, so it can arrive after the previous test already finished and
make this test not wait properly.

However, we also can't easily wait for the load finished message in the
previous test as it only appears with QtWebEngine, not QtWebKit.

As a workaround, we simply load another file in that test, to circumvent this
kind of cross-interaction.
2018-02-07 18:16:03 +01:00

16 lines
427 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Opening links in a specific iframe</title>
</head>
<body>
<iframe id="my-iframe"></iframe>
<p>
A <a href="/data/hello.txt" target="my-iframe">link</a> to be opened in the iframe above.
A <a href="/data/hello2.txt" target="my-iframe">second link</a> for the iframe.
</p>
</body>
</html>