djelica Posted October 18, 2014 Share Posted October 18, 2014 Hello dear AutoIt fellas. This is first time i post as i couldn't find solution for the task i need to do. Currently I am using Run(iexplore) function with -private and -nomerge parameters. Then i attach to the process using ieattach and continue with my automation. Problem: I need User Agent changed for the open session without it reverting back to default. Currently i use $oIE.navigate() where i set user agent header, but it is only for one single request, so if server decides to redirect me for some reason (for example mobile UA, or detecting browser using async js) user agent is already reverted back to default and ... you get it. I tried: a lot of stuff... What worked?: only for embedded ie which isn't acceptable for my task. Any solution for this? Best regards. Link to comment Share on other sites More sharing options...
JohnOne Posted October 18, 2014 Share Posted October 18, 2014 HttpSetUserAgent no good? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
djelica Posted October 19, 2014 Author Share Posted October 19, 2014 (edited) HttpSetUserAgent Sets the HTTP user-agent string which is sent with all Inet requests im using iexplore therefore no good. Edited October 19, 2014 by djelica Link to comment Share on other sites More sharing options...
WRed Posted April 17, 2016 Share Posted April 17, 2016 (edited) I have same question. Do you have any solution ? Edited April 17, 2016 by WRed Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now