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

202 questions
15
votes
1 answer

Add ssl certificate to selenium-webdriver

I use selenium for end-to-end test with chromeDriver. The websites to test require an ssl certificate. When I manually open the browser, there is a popup that lets me select an installed certificate. Different tests access different URLs and also…
5
votes
0 answers

Browsermob Proxy with WebdriverIO and Selenium

I'm attempting to record network traffic in a har file using selenium, webdriver io and browsermob proxy var webdriverio = require('webdriverio'); var Proxy = require('browsermob-proxy').Proxy , fs = require('fs') , proxy = new…
lfender6445
  • 25,940
  • 9
  • 95
  • 82
5
votes
2 answers

Browser-mob Proxy is not capturing the network traffic with chrome driver

I am using this code to integrate the browser mob proxy with maven dependency net.lightbody.bmp browsermob-core 2.1.5 its not capturing the network requests at all, I am getting this kind of har file: { "log":{ "version":"1.2", …
Pankaj Kumar Katiyar
  • 1,416
  • 1
  • 20
  • 32
5
votes
1 answer

Selenium chromedriver unknown error while running chrome 59 headless with browsermob proxy

I wrote a simple Selenium test (opening a page) of a secured site in a headless mode using Chrome 59 beta version. I'm getting an the following exception while executing my code. The exception is thrown while initializing the driver When I rerun my…
5
votes
0 answers

Selenium + Browser Mob Proxy + Chrome Extension (Hola)

I am trying to interact with Hola the VPN connection as a chrome extension through selenium. It is read in and the browser renders with the chrome extension, however I want to make a get request to netflix and store all of the IP's. How can I make…
4
votes
1 answer

BrowserMobProxy with Selenium Java

I’m trying to save JAR-content into my local drive using Selenium Java UI script. When I try to do that, I’m receiving some set of errors. I went through several blocks, and I have updated the Guava JAR-file to the latest version, but still have no…
Shankar
  • 51
  • 3
4
votes
1 answer

Firefox auth pop-up getting error: User prompt of type promptUserAndPass is not supported

My Auth functionality is working great in chrome but as Firefox handle it differently I am not able to login the auth by anyway. My Firefox version : 72.02 I have found that it is known bug but they are 1 year old post, if anyone has solution kindly…
4
votes
2 answers

Running browsermob with selenium grid on docker

I am using the python client for browsermob to record traffic of my selenium tests. Selenium grid is in a docker container with images for chrome and firefox. I cant seem to configure the docker images properly to connect to the proxy and the…
4
votes
1 answer

Getting Request And Response Using BrowserMobProxy, Selenium, Firefox, marionette/gecko

I'm trying to get response and request using BMP's RequestFilter and ResponseFilter. However, when the webpage loads, nothing gets printed in the console. Everything else seems to work though. Maybe BMP is not watching GeckoDriver? I'm using Firefox…
jl303
  • 1,110
  • 12
  • 24
4
votes
5 answers

Browsermob proxy with selenium generates empty output

I am using selenium 3.0.2 and browsermob proxy 0.7.1 to capture the network data. All I am getting is an empty JSON. My code is: server = Server("/Users/dev/Downloads/browsermob-proxy-2.1.2/bin/browsermob-proxy") server.start() proxy =…
4
votes
1 answer

Why is Browsermob-Proxy-rb w/ Selenium failing to record HTTP traffic arbitrarily?

I've been working with the Browsermob Proxy, via the current release of the browsermob-proxy.rb gem, to record several RSpec tests. Unfortunately, it seems to be randomly failing to record traffic. On some test runs, the traffic is recorded…
F. Stephen Q
  • 3,898
  • 1
  • 17
  • 42
3
votes
0 answers

Getting error "Browsermob-Proxy binary couldn't be found in path provided: path/to/browsermob-proxy" after installation of Browsermob-Proxy

I'm trying to install browsermob-proxy, but after installing it and trying to use I'm getting an error: "Browsermob-Proxy binary couldn't be found in path provided: path/to/browsermob-proxy" I installed Browsermob-Proxy using pip: pip install…
3
votes
1 answer

How to fix "Could not read Browsermob-Proxy json"?

I am trying to use browsermob-proxy to monitor all requests and responses for selenium tests. In my case, I am running the selenium tests with the py.test framework inside a docker image on jenkins. I am using the following…
Alex
  • 34,021
  • 64
  • 178
  • 371
3
votes
1 answer

Standalone vs embedded Browsermob proxy for cloud-based tests (Sauce Labs/Browserstack)

I made a working test locally with embedded Browsermob proxy server. Nothing new, but still here is the sample code. _server = new BrowserMobProxyServer() _server.start(); Proxy proxy = ClientUtil.createSeleniumProxy(_server); …
3
votes
2 answers

What kind of base64 is used in HTTP responses?

I'm catching HTTP requests made by Selenium using Browser Mob Proxy (using the browsermob-proxy Python package). In my HAR file, I see this (it should be a Javascript file): "content": { "comment": "", "size": 10908, …
1
2 3
13 14