This is a migrated thread and some comments may be shown as answers.

How to make FiddlerCore to simulate mobile client?

1 Answer 62 Views
FiddlerCore
This is a migrated thread and some comments may be shown as answers.
ihor
Top achievements
Rank 1
ihor asked on 09 Aug 2019, 02:27 PM

Good day

I want to use FiddlerCore in an .Net application that also uses internal browser to work with a site.

The website the application is working with has a mobile version.

What should i do to make FiddlerCore its to simulate mobile client? 

(to opereate with mobile, not full site version)

 

thank you

1 Answer, 1 is accepted

Sort by
0
ihor
Top achievements
Rank 1
answered on 09 Aug 2019, 05:36 PM

I found solution - in the event FiddlerApplication_BeforeRequest 

 

oSession.oRequest["User-Agent"] = user_agent;

 

where user_agent corresponds to a mobile client

Tags
FiddlerCore
Asked by
ihor
Top achievements
Rank 1
Answers by
ihor
Top achievements
Rank 1
Share this question
or