Using adb shell to clear application data
adb shell pm clear com.android.browser
But when executing that command from appl
Afaik the Browser application data is NOT clearable for other apps, since it is store in private_mode. So executing this command could probalby only work on rooted devices. Otherwise you should try another approach.
private_mode