Clear browser history
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2022
01:22 AM
12-20-2022
01:22 AM
Clear browser history
Hi,
How to clear browser history cache and all for all the browsers??
Is there any inbuilt methods are there in TC??
Let me know
Thanks and regards
TanIlak
Labels:
5 REPLIES 5
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2022
02:25 AM
12-20-2022
02:25 AM
Here's an example of clearing cache for Internet Explorer 9,
Set objShell = CreateObject("WScript.Shell")
objShell.Run "RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255"
There will be examples on the Internet on how to clear cache for Chrome and Edge
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2022
09:58 PM
12-20-2022
09:58 PM
Hi,
Thanks for your response.
This code also I have verified.
I want to clear all the browsers history and cache in one Javascript
>>For Example: Chrome,Edge,Firefox,IE in single method like deleteallcookies
Is anything available like these.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2022
12:52 AM
12-21-2022
12:52 AM
There are no inbuilt methods in TC that allows this.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2022
10:29 PM
12-21-2022
10:29 PM
Ok. Is it possible to read cookies???
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2022
12:50 AM
12-22-2022
12:50 AM
To access cookies, it will be something like this,
Sys.Browser().Page("https://yoursite.com").contentDocument.cookie
