Quantcast
Channel: Silk Performer
Viewing all articles
Browse latest Browse all 4084

Wiki Page: How can I stop SilkPerformer from automatically downloading images during a test?

$
0
0
The Silk Performer Active Profile is set by default to download all embedded images in a requested page. It is possible to change this behaviour in 2 ways: Change the "Automatically load images" Active Profile setting itself in SETTINGS | ACTIVE PROFILE | WEB | EMULATION Unchecking this option will stop the active users from automatically downloading the images; Use WebSetOption(WEB_OPT_AUTO_LOAD_IMAGES, 0); to achieve the same functionality as described above. The benefit of using the WebSetOption in the script is that it can be turned on and off throughout the script as necessary. If placed in TInit, WebSetOption will be applied to all subsequent function calls throughout the rest of the test.   NOTE: Images loaded directly by JavaScript may be hardcoded into the script using WebPageAddUrl functions - these will not be called if either of the options above are selected.

Viewing all articles
Browse latest Browse all 4084


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>