You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working with Selenium Grid, that is webdriver is created using the Remote function. Before using the Grid, I was using mitmproxy locally to intercept and filter out certain requests. Typically Chrome browser was started with the --proxy-server=localhost:8080 so that it will go through mitmproxy. But with the grid, this means that mitmproxy will have to locally run on each remote node so that it can stand between each remote Chrome and the web. While this can be done in principle (through some static remote provisioning), the main problem is that I'm using mitmproxy dynamically, that is the filtration is dynamically changed using the code in Python (typically creating the DumpMaster object). For example sometimes I add or remove add-ons on the fly, depending on the situation. Again, all that works fine on a local single machine, but using a Grid I don't think this is going to work as there is no way to control a remote mitmproxy or modifies it dynamically similar to how the Grid do that for remote Chrome nodes. Or maybe there is a crafty way nevertheless?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm working with Selenium Grid, that is webdriver is created using the
Remote
function. Before using the Grid, I was using mitmproxy locally to intercept and filter out certain requests. Typically Chrome browser was started with the--proxy-server=localhost:8080
so that it will go through mitmproxy. But with the grid, this means that mitmproxy will have to locally run on each remote node so that it can stand between each remote Chrome and the web. While this can be done in principle (through some static remote provisioning), the main problem is that I'm using mitmproxy dynamically, that is the filtration is dynamically changed using the code in Python (typically creating theDumpMaster
object). For example sometimes I add or remove add-ons on the fly, depending on the situation. Again, all that works fine on a local single machine, but using a Grid I don't think this is going to work as there is no way to control a remote mitmproxy or modifies it dynamically similar to how the Grid do that for remote Chrome nodes. Or maybe there is a crafty way nevertheless?Beta Was this translation helpful? Give feedback.
All reactions