Home > other >  Fiddler error saving the session to the local file
Fiddler error saving the session to the local file

Time:10-01


Below is my Fiddler Script editor to add the code to the
The static function OnBeforeResponse (oSession: Session) {
If (m_Hide304s & amp; & OSession. ResponseCode==304) {
OSession [" UI - hide "]="true";
}

If (oSession. FullUrl. The Contains (" auctionRecord/batchCurrentInfo ")) {
Var there;
Var file;
Fso=new ActiveXObject (" Scripting. FileSystemObject ");
//file path, customizable
The file=fso. OpenTextFile (" C: \ \ Users \ \ Administrator \ \ Desktop \ \ test2. TXT ", 8, true, true);
File. WriteLine (oSession GetResponseBodyAsString ());
File. WriteLine (" Fiddler ");
File. The close ();
}

}
Have a great god know what the problem is causing the, or that two days ago,
  • Related