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
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…
6
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…
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…
random-forest-cat
  • 33,652
  • 11
  • 120
  • 99
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,474
  • 1
  • 20
  • 36
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
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

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
  • 4
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

The Browsermob-Proxy server process failed to start

I encountered this error when I just start the server. Here's the code: server = Server(r"path\to\browsermob-proxy") server.start() Then it stopped and raised an error like this: browsermobproxy.exceptions.ProxyServerError: The Browsermob-Proxy…
Dexter
  • 41
  • 1
  • 3
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,461
  • 15
  • 27
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
  • 4,208
  • 1
  • 19
  • 42
4
votes
1 answer

No headers in HAR response

I parse website 'http://ok.ru'. To get data from the post request I need to send a specific token that is generated by Javascript on the website and this token is contained in headers. So I thought maybe one solution would be to open the website,…
3
votes
1 answer

Configure BrowserMobProxy in C#

Can anyone provide a proper example on how to configure BrowserMobProxy with Selenium Webdriver in C#? Everywhere i search, it mostly provides samples using Java whereas our framework is in C# and on top i want to use BrowserMobPRoxy.This is so I…
Aarthy
  • 71
  • 1
  • 5
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…
Tony Simonovsky
  • 169
  • 1
  • 9
1
2 3
13 14