server Package

class browsermobproxy.Server(path='browsermob-proxy', options={})

Initialises a Server object

Args:
Parameters:
  • path – Path to the browsermob proxy batch file
  • options – Dictionary that can hold the port. More items will be added in the future. This defaults to an empty dictionary
create_proxy()

Gets a client class that allow to set all the proxy details that you may need to.

start()

This will start the browsermob proxy and then wait until it can interact with it

stop()

This will stop the process running the proxy

url

Gets the url that the proxy is running on. This is not the URL clients should connect to.

Previous topic

client Package

This Page