下载是通过设置启动的
location.href = [some url to an image]
我想断言,尽可能接近,下载会成功,但不实际执行下载。可以假设 URL 是正确的。
cypress
cypress ×1