diff --git a/AutomatedTester.BrowserMob/Client.cs b/AutomatedTester.BrowserMob/Client.cs index a8c46b6..83ae643 100644 --- a/AutomatedTester.BrowserMob/Client.cs +++ b/AutomatedTester.BrowserMob/Client.cs @@ -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; @@ -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; } } diff --git a/AutomatedTester.BrowserMob/obj/Debug/CoreCompileInputs.cache b/AutomatedTester.BrowserMob/obj/Debug/CoreCompileInputs.cache new file mode 100644 index 0000000..7be0884 --- /dev/null +++ b/AutomatedTester.BrowserMob/obj/Debug/CoreCompileInputs.cache @@ -0,0 +1 @@ +165a58aba32c6a5ebc0d9a105510a8ef312e5952 diff --git a/AutomatedTester.BrowserMob/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/AutomatedTester.BrowserMob/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache index a24c006..b061286 100644 Binary files a/AutomatedTester.BrowserMob/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/AutomatedTester.BrowserMob/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/README.md b/README.md index 2931ff1..152c150 100644 --- a/README.md +++ b/README.md @@ -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 Proxy This 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. \ No newline at end of file