Skip to content
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

[Question] Is there a way switching off Codegen highlight? #19511

Closed
yagitk opened this issue Dec 16, 2022 · 2 comments
Closed

[Question] Is there a way switching off Codegen highlight? #19511

yagitk opened this issue Dec 16, 2022 · 2 comments

Comments

@yagitk
Copy link

yagitk commented Dec 16, 2022

In a end-to-end test for a website, we are evaluating the usage of codegen.
When using codegen, each object highlights red when mouse pointing.

On the other hand, we have requests to take screenshots of the webpage while using codegen.
Taking screenshots will be done manually, because of manually testing first time at this point
and codegen coding might not be complete, we want to take a screenshot.
When taking screenshots the highlighting will been taken into the screenshot.

Question is there a way to switch off the highlighting while codegen?
Ex. the codegen parameters.

Or is there no way switching off the red highlighting when using the codegen.

One way is to stop recording, take a screenshot and start recording again,
but it is bothering stopping each time before pressing print screen.

@yury-s
Copy link
Member

yury-s commented Dec 17, 2022

On the other hand, we have requests to take screenshots of the webpage while using codegen.
Taking screenshots will be done manually, because of manually testing first time at this point
and codegen coding might not be complete, we want to take a screenshot.
When taking screenshots the highlighting will been taken into the screenshot.

There is no way to disable the highlight in the codegen. The users are expected to use it for authoring tests and once the test is ready you can add logic of taking screenshots automatically or even record traces that would among other things automatically include page screenshots before and after each action.

One way is to stop recording, take a screenshot and start recording again,
but it is bothering stopping each time before pressing print screen.

This is the way to go if you absolutely need to take the screenshots while generating code.

Closing the request as there is a workaround and we are not planning to change the behavior.

@yury-s yury-s closed this as completed Dec 17, 2022
@yagitk
Copy link
Author

yagitk commented Dec 19, 2022

Thank you for your reply.
We understand the main way of codegen usage, and just questioned if there was a function option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants