Iframe bounces back to top when running tests
See original GitHub issueDescribe the Issue
There seems to be an issue with the Iframe (this happens when having an Iframe with a scrollbar)
So to reproduce:
- scroll down in the Iframe
- run the tests
- Iframe pops back to the top
This might be annoying when trying to see the changes you made.
Affected Page
https://freecodecamp.org/learn/2022/responsive-web-design/
Your code
Expected behavior
When running the test the Iframe should stay in place.
Screenshots
No response
System
- Device: Desktop
- OS: Windows 11
- Browser: Brave
- Version: V1.38.119
Additional context
No response
Issue Analytics
- State:
- Created a year ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Page jumps to top when iframe is clicked - Stack Overflow
From my investigation, its not caused by the iframe itself. Its cause by the javascript executed by the embedded google ...
Read more >Documents in iframe lose scroll position when tabbing focus to ...
Issue 444948: Documents in iframe lose scroll position when tabbing focus to input ... 5. notice that the scroll position inside iframe jumps...
Read more >iframe - Handling iFrame issue with Katalon Studio - Tools QA
This article shows you how to handle iframes properly in Katalon Studio. ... Why is it important to know how to test iframes?...
Read more >Problem with IFrame - Katalon Studio
if I go to step1 then step2 then step 3, I am getting an error. Unable to verify image 'Object Repository ... There...
Read more >Handling iFrame issue with Katalon Studio
A prevalent type of control used in a website is the HTML iframe. And this control needs to be handled in a specific...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Move it out of draft when you want us to actually review it. That way it gets added to the review queue and someone from the team will get back to you when they get a chance.
For some reason, if you want early feedback the discord linked in our contributing docs is a good place to seek feedback.
@Sembauke @moT01 I have created a PR for this with my idea (#47870). What do you guys think? Please, have a look.