New answers tagged

1

You need to set Proxy-Authorization header to the request which are coming from your web browser. I would use browsermob-proxy for handling this. Here you can find some example of how to use the proxy with your Selenium test. You need to amend the code from "Create test fish-bone" section so that you have the following setUpProxy() method: public ...


0

Sorry to revive an old question, but I came here when to trying focus the browser window (using direct calls to chrome remote debugger). In case it helps anyone, I was able to figure it out with this command to chrome "{'method':'Target.activateTarget', 'params':{'targetId':tabId} ,'id':1}" where tabId is the id of the tab as listed in the localhost:9222/...


Top 50 recent answers are included