Reputation: 245
I want to run my tests at zoom level less than 100% as few of the elements on some pages are not visible when I run tests.
Is there any way to set the zoom level of browser while running tests ?
Upvotes: 0
Views: 1036
Reputation: 546
Thank you for your question. As of yet, TestCafe does not provide the functionality to set the zoom level on a page. I would suggest using a Resize Window if it's applicable to your scenario. Also, keep in mind that Page Actions automatically scroll the target element into view. If these alternatives don't satisfy your needs, please keep track of the zoom feature request in our GitHub repository.
Upvotes: 1