Uses of Class
org.openqa.selenium.chromium.ChromiumNetworkConditions
-
Uses of ChromiumNetworkConditions in org.openqa.selenium.chromium
Methods in org.openqa.selenium.chromium that return ChromiumNetworkConditionsModifier and TypeMethodDescriptionChromiumDriver.getNetworkConditions()HasNetworkConditions.getNetworkConditions()Gets map of network conditions.ChromiumNetworkConditions.setDownloadThroughput(int downloadThroughput) Sets the throughput of the network connection in kb/second for downloading.ChromiumNetworkConditions.setLatency(Duration latency) Sets the simulated latency of the connection.ChromiumNetworkConditions.setOffline(boolean offline) Whether the network is set to offline.ChromiumNetworkConditions.setUploadThroughput(int uploadThroughput) Sets the throughput of the network connection in kb/second for uploading.static ChromiumNetworkConditionsChromiumNetworkConditions.withLatency(Duration latency) Methods in org.openqa.selenium.chromium with parameters of type ChromiumNetworkConditionsModifier and TypeMethodDescriptionvoidChromiumDriver.setNetworkConditions(ChromiumNetworkConditions networkConditions) voidHasNetworkConditions.setNetworkConditions(ChromiumNetworkConditions networkConditions) Set network limitations