Want to launch Browser with Throttling Speed configurable (Slow 3G) for some case and for rest default (Fast 3G) or no throttling. #27513
Replies: 1 comment 2 replies
-
Hey @Prashant-Kan As per the resources online Network throttling can be achieved natively by Chrome (CDP) by using Network.emulateNetworkConditions. While this should ideally help you, please be informed that you can export the key 'CYPRESS-NETWORK-THROTTLE' to true as a key in your environment variable and use this Javascript: Thanks. |
Beta Was this translation helpful? Give feedback.
-
We have a scenario in which we want to ensure that the functionality should work under Slow 3G network speed too. For that I was looking for the browser configuration during its launching when test case starts.
Let me know if anyone has any idea or have done this kind of Automation testing already sometime.
Beta Was this translation helpful? Give feedback.
All reactions