orgad111 Posted October 21, 2014 Share Posted October 21, 2014 Hey I'm using ff.au3 and I'm wondering if there is any way to get all the requests headers from a open browser page (img, css, js) Link to comment Share on other sites More sharing options...
junkew Posted October 21, 2014 Share Posted October 21, 2014 in general you can get this information thru a bookmarklet/favlet in your addressbar (most browsers support this) with a simple (short) javascript 1.type javascript: (if you copy paste you probably lose javascript:) 2. paste this behind: var req = new XMLHttpRequest();req.open('GET', document.location, false);req.send(null);var headers = req.getAllResponseHeaders().toLowerCase();alert(headers);void(0); this will give it in a popup which you can read (more advanced is by adding a textbox first to your html page and put the output in there) FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets 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