A
A
Andrew Lays2015-03-12 22:42:20
linux
Andrew Lays, 2015-03-12 22:42:20

Request proxying?

The idea is a little strange:
I put the google chrome browser, or any other, on the linux server, I put either some kind of extension or a proxy agent so that all requests from this browser go through my proxy and you can follow them, how can I programmatically do so, so that I can, for example, open the desired site in chrome from the console, and which proxy agent do you recommend?
UPD:
I’ll explain a little, there is a site with a swf player, long-pooling requests from js, etc. I need to monitor all the site’s network activity from the console, it’s possible to put graphics on the server, so I’m thinking, can Chrome put it through some then the api can monitor everything, only how to manage tabs in chrome through the console, can write a small extension for it or how.
UPD:
Discovered Selenium WebDriver. Thanks everyone, the issue is closed.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
ShamblerR, 2015-03-13
@ShamblerR

well, there are many options
1. the easiest option is to tunnel the port via ssh to your machine, from the minuses the site will no longer be available on this port from the server.
2. w3m opens fine from the console.
3. you can just put the graphics on the server, and connect via ssh with the -X parameter in this case, all the GUI opened on the server will open in your OS, for Windows you will need to install x11, it is small but everything works.
That is if I understand your question correctly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question