Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 97790

No-Cache Refresh In Robot Framework Selenium2Library

$
0
0

I have a test script written in python robot framework which navigates through a website and tests its pages. The website sometimes needs to refresh all its content from server, i.e. it needs a No-Cache Refresh.

Robot Framework selenium2library has a reload page method which simply performs a Refresh-If-Modified. In Python I can use driver.refresh() which does the same.

I tried Press Key in robot framework and driver.send_keys(Keys.COMMAND + Keys.F5) and driver.get(url) in python; none of them was successful!

Any idea how to do that??

To clarify, a No-Cache Refresh, retrieves all the website data from its server regardless of its changes on the server, but a Refresh-If-Modified first sends a request to the server and asks for changes, then it just requests to retrieve modified data.


Viewing all articles
Browse latest Browse all 97790

Trending Articles



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