java - PhantomJS load same page multiple times does not work, cannot clear cache -


i trying use phantomjs load testing website, facing problem, phantomjs loads website once, after not hit it, see there many discussion people asking feature load testing purpose looks not included in phnatomjs yet. did ran same problem? , best way overcome this? have got success using selenium webdriver phantomjsdriver doing same? thank you.

i did calling driver.executephantomjs(javascript, "utf-8") clear memory cache. or can done below - driver.executephantomjs("var page = this; page.clearcookies(); page.clearmemorycache(); page.close(); return 'done';");


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -