In testing a website I’m finding certain pages on our test environment incredibly slow to load when using WebDriver (Consistently slow across The IE, Chrome and Firefox driver), however when visiting the same page in any other those browsers normally it loads in a much more timely way. Every indication seems to show the request for the page happening quickly, and the lag coming from downloading/rendering. Has anyone else encountered the same issue, and has a workaround/fix?
Thanks
Selenium doesn’t seem to cache any data etc – or it clears the caches whenever it closes. Is it possible that the pages that render slowly are downloading libraries, fonts or CSS files that are already cached in your normal browser instance? Things like jquery and lightbox etc can soon add up.