Questions tagged [browsermob-proxy]

BrowserMob Proxy (BMP) is based on technology developed in the Selenium open source project and a commercial load testing and monitoring service originally called BrowserMob and now part of Neustar.

The proxy is a free (Apache 2.0 license) utility that works well with Selenium or can be used independently.

It can capture performance data for web apps (via the HAR format), as well as manipulate browser behavior and traffic, such as whitelisting and blacklisting content, simulating network traffic and latency, and rewriting HTTP requests and responses.

For details and download: http://bmp.lightbody.net/ https://github.com/webmetrics/browsermob-proxy/downloads

199 questions
1
vote
1 answer

Cannot find tweet's replies bodies in .har created with Selenium and browsermobproxy in python

i'm trying to scrape replies to a specific tweet using Selenium and browsermobproxy. Here's my setup: #Proxy bmob_server = Server("./additional_lib/browsermob-proxy-2.1.4/bin/browsermob-proxy") bmob_server.start() bmob_proxy =…
Alessandro Togni
  • 680
  • 1
  • 9
  • 24
1
vote
0 answers

Start a browser with a logged proxy in Robot framework

i'm facing the current problem: Since i'm under VPN, when i open a browser, a browser popup appears and ask me for the user and password credentials: I need to open a browser in robot framework (firefox or chrome is the same) with a logged proxy. I…
1
vote
1 answer

Save HAR file without browsermodproxy

I am using browsermobproxy and getting lots of errors that I don't want to deal with. Is there a way to get a site's HAR file without using browsermobproxy? If anyone's interested, here's the error I get from server.log Running BrowserMob Proxy…
RLU
  • 75
  • 4
1
vote
0 answers

Python Internet Explorer driver using its own proxy instead of the proxy I have set

The browser traverses all the webpages correctly but is listening on a different port in spite of specifying the port in the below code. I am trying to initiate the internet explorer driver using selenium and browsermob-proxy with the following…
1
vote
1 answer

Set RequestHeader through Selenium WebDriver

I'm encountering the below error while trying to set Request headers using browsermobproxy for selenium tests. Exception in thread "main" org.openqa.selenium.WebDriverException: : Failed to read the 'localStorage' property from 'Window': Access is…
1
vote
1 answer

How to replay server response from .har file?

I am new to this, this is my first question here. Please guide me to improve. Learning python automation. Came across scenario to automate "replay server response from .har file". Could capture, HAR file from browsermobproxy import Server server =…
1
vote
1 answer

Is there any way to capture selenium request headers with python?

I want to capture an authorization header from an outgoing request, either directly with selenium or through a proxy. Methods I've tried: Getting request log with driver.get_log('performance') => Only some requests seem to be indexed, and none…
1
vote
1 answer

How to use browsermob with python-selenium behind a corporate proxy?

My test environment is under a corporate proxy ("proxy.ptbc.std.com:2538").I want to open a particular video on YoTube for a period of time (eg 200 seconds) and capture the har file for each visit, the process is repeated several times for a massive…
1
vote
0 answers

Browsermob-Proxy - Problem to read XHR over SSL

This is my setup: Raspberry Pi 3 Model B Plus Rev 1.3 Linux 4.19.66-v7+ (RaspbianGNU/Linux 9 (stretch)) Selenium 3.141.0 Browsermob-Proxy 2.1.4 Chromium 72.0.3626.121 ChromeDriver 72.0.3626.121 Python 3.5.3 I would like to record the network…
1
vote
0 answers

how to fix No Internet: ERR_PROXY_CONNECTION_FAILED

started Selenoid ./cm selenoid start --vnc started BMP container docker run -p 58080:8080 -p 58200:8200 --name browser-mob-proxy bwowk/browsermob-proxy started Proxy curl -X POST -d \'port=8081\' http://localhost:58080/proxy creating…
1
vote
1 answer

How to prevent a particular