cancel
Showing results for 
Search instead for 
Did you mean: 

How to clear cookies on ios device

Highlighted
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,

Sridhar.