2gis / Winium.Mobile

Winium.Mobile is Selenium Remote WebDriver implementation for automated testing of Windows StoreApps and Silverlight apps, tested on emulators (currently only Windows Phone/Mobile apps are supported).
Mozilla Public License 2.0
51 stars 29 forks source link

Research possibility of using WebSocket client in Inner server instead of SocketStreamListener #60

Closed NickAb closed 7 years ago

NickAb commented 9 years ago

Once #57 is done, we could research a possibility of transitioning from InnerServer being a StreamSocketListener to it being a WebSocket client which will start establish duplex connection to a driver on start. This will let get rid of custom HTTP code on InnerServer side and generally simplify InnerServer. It will also allow us to implement some advanced features, that might require a two-way connection. But this might require a more complex implementation on Driver side for NewSession command which will have to wait for incoming InnerServer connection while blocking response to test client (NewSession should return response to test client only once the InnerServer started and established connection).

https://msdn.microsoft.com/library/windows/apps/br226842