Facing slow network speed randomly when running selenium automation tests, this is not happening every time. This I observed that it is happening when passing ‘network=true’ in capabilities.
First of all,
network=true denotes a Network flag in LambdaTest Advanced Selenium Capabilities, which captures a recording for network packets while the test gets executed. By default, this network flag is set as false.
So when this is set true, the test execution time will increase, due to the extra overhead of recording network packets. So it’s a tradeoff.
If you don’t wish to record the network packets, you can set it as false to gain test execution speed.