How to capture an element from viewport without scaling in Cypress?

后端 未结 0 1855
臣服心动
臣服心动 2021-01-30 06:35

How can I capture an element without scaling the page in Cypress.io. I tried this, but it crops the viewport.

Cypress.Screenshot.defaults({
        capture: \'vie         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题