-
-
Notifications
You must be signed in to change notification settings - Fork 170
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
Option to disable loading of frames #665
Comments
@royteeuwen, Have done some documentation about content blocking some weeks ago - maybe that helps already And there is also a related FAQ entry (if i got you right) Will have a look at your PR later today. |
Oh there is something more - looks like you are not the first one having this wish.... You can set the FrameContentHandler of the WebClient to your own one returning false from the impl of loadFrameDocument() |
OK i can try that! Wouldn’t it be more clear / consistent to go for the provided option as in my PR though? |
@royteeuwen does one of the suggestions work for you? |
@rbri Yep, thanks! |
We use HTMLUnit as a test engine to run our integration tests.
On our test pages, we might have links to iframes (for example google tag manager). We would like to have an option to disable the loading of the content of the frames
The text was updated successfully, but these errors were encountered: