-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(webdriverjs): skip unloaded iframes #743
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!DOCTYPE html> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. NBD - Do we want these fixtures to live in the axe-fixtures repo? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good question. I should probably move them since puppeteer also has this same issue. I'll add this as a tech debt ticket since I'd like to get this released without waiting to add it to the fixture repo. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
<html lang="en" id="lazy-loading-iframe-parent"> | ||
<head> | ||
<title>Lazy Loading Iframe Parent</title> | ||
</head> | ||
<body> | ||
<main> | ||
<h1>iframe context test</h1> | ||
<div style="margin-top: 300vh"> | ||
<iframe id="lazy-iframe" src="https://www.youtube.com/embed/REDRiwmNunA" title="MONTHLY SPOTLIGHT" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" loading="lazy"> | ||
</iframe><iframe id="child" title="child" src="iframe-one.html"></iframe> | ||
</div> | ||
</main> | ||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!DOCTYPE html> | ||
<html lang="en" id="lazy-loading-iframe-root"> | ||
<head> | ||
<title>Lazy Loading Iframe Root</title> | ||
</head> | ||
<body> | ||
<main> | ||
<h1>iframe context test</h1> | ||
<div style="margin-top: 300vh"> | ||
<iframe title="parent" id="parent" src="iframe-lazy-1.html" loading="lazy"></iframe> | ||
</div> | ||
</main> | ||
</body> | ||
</html> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍