Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions AutomatedTester.BrowserMob/Client.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace AutomatedTester.BrowserMob
public class Client
{
private readonly string _url;
private readonly Int16 _port;
private readonly Int32 _port;
private readonly string _proxy;
private readonly string _baseUrlProxy;

Expand All @@ -37,7 +37,7 @@ public Client(string url)
if (portToken == null)
throw new Exception("No port number returned from proxy");

_port = (Int16) portToken;
_port = (Int32) portToken;
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
165a58aba32c6a5ebc0d9a105510a8ef312e5952
Binary file not shown.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
# .NET Library for working with BrowserMob Proxy

This project is a simple way to work with browsermob proxy and Selenium.
# .NET Library for working with BrowserMob ProxyThis project is a simple way to work with browsermob proxy and Selenium.Changes-------1. In Client.cs, _port changed to Int32. The original Int16 was compiling as a signed 16 bit value; port numbers greater than 32767 were being taken as a negative value.
Expand Down