Showing results for 
Search instead for 
Did you mean: 

How to clear cookies on ios device

Occasional Contributor

How to clear cookies on ios device

I am using a ios physical device connected to my windows system for running the automation on the ios device.


I would like to clear cookies before each scanario so that there is no data from the last scenario execution for the next scenario that are going to be executed.


Is there a way to clear cookies on the ios device?


for android, this seems to work for me: Mobile.Device().ShellExecute("pm clear com.smartbear.smartbearbrowser"); 


I am using Testcomplete with Javascript language.


Thanks in Advance,


New Here?
Join us and watch the welcome video:
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!

Challenge Status

Changing options from outside of TestComplete


How to execute remote test and obtain results via Test Runner REST API


Comparing content of HTML table with Excel file data


Compare HTML table with Excel file and correct data in the file

Top Kudoed Authors