-
Notifications
You must be signed in to change notification settings - Fork 672
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
Hide all toolbars when taking screenshots #1445
Comments
Hi, Thanks for the report, we should think out it thoroughly. If we will create screenshots without browser toolbars it can be a breaking change for someone. As a workaround you can run chrome in application mode via browser arguments: |
The problem with application mode is that debugging is difficult (if not impossible). I don't believe there is a way to open dev tools or toggle application mode if a breakpoint is added. This issue seems related to #1357. The use case for me is for visual regression testing. Since the address is different for each test, there will always be a regression. Perhaps a flag that removes the testcafe UI bar and does not include the address bar on screenshots... |
Also, curious if you know of anyone that has added on a visual regression feature to testcafe? Looking at using https://github.com/mapbox/pixelmatch to compare the images. Writing a few scripts now to incorporate into the testing workflow. |
@mjhea0 We have #1207. We even had had a long in person discussion about original proposal and decided to drastically change proposed approach afterwards. Discussion should have been documented by @kirovboris. However, unfortunately I can't find any notes 😞 . You can add 👍 to the #1207 so we'll know that there is a demand for the feature. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or feature requests. For TestCafe API, usage and configuration inquiries, we recommend asking them on StackOverflow. |
…loses DevExpress#1496, closes DevExpress#2000) (DevExpress#2026) * Implement screenshots cropping to page view (closes DevExpress#1445) * Fix remarks * Fix functional test * Fix client tests * Fix remarks * Fix assertions in functional test * Update index.d.ts
Are you requesting a feature or reporting a bug?
feature request
What is the current behavior?
all toolbars are displayed when a screenshot is taken
What is the expected behavior?
remove all toolbars (run chrome from application mode)
Specify your
The text was updated successfully, but these errors were encountered: