4 ms·
I think they just delete the user profile which is where browsers usually save their data. (not 100% sure about that, but I think Selenium mentioned that in th
by rb2k_ 15y ago
I think they just delete the user profile which is where browsers usually save their data.
(not 100% sure about that, but I think Selenium mentioned that in the logging output)
- aslakhellesoy 15y agoBy datastore I meant server side database (SQL/NoSQL)
- rb2k_ 15y agoThe way you'd usually do it is either having a multi-user application and just create a new user for a new test (also helps testing concurrently) or you'll have to reset the app by: - redeploying it on a new e.g. EC2 instance - clearing out the database and inserting your original blank state from an SQL dump - clearing out the filesystem by e.g. using a git reset p.s. you should try to have an automated deployment for your product. That way you could also just spin up a new EC2 instance -> deploy -> test -> kill instance