Skip to content

Fix for dotnet DriverService initialization#190

Closed
livioc wants to merge 1 commit intoSeleniumHQ:masterfrom
livioc:driverservice_improvements
Closed

Fix for dotnet DriverService initialization#190
livioc wants to merge 1 commit intoSeleniumHQ:masterfrom
livioc:driverservice_improvements

Conversation

@livioc
Copy link
Copy Markdown
Contributor

@livioc livioc commented Mar 20, 2014

DriverService will throw a WebDriverException if it cannot start the driver process so now it's more easy to debug if there's same problem during the driver initialization . Previous behaviour was to silently fail so client code will get errors only later when it will try to use the driver istance.
note: i used WebDriverException to have a consistent behaviour with the java code
note2: i do also a simply validation on the 'status' response to manage the case where the failure is caused explicitly setting a port that is already use by an http server (so the 'status' command can return a valid http response)

…driver service,

added a minimal validation on the response of the 'status' command
@livioc livioc changed the title DriverService will throw a WebDriverException if it cannot start the dri... Fix for dotnet DriverService initialization Mar 20, 2014
@livioc
Copy link
Copy Markdown
Contributor Author

livioc commented Mar 20, 2014

@jimevans

@andreastt andreastt added Z-awaiting review Archived: use GitHub review assignments C-dotnet .NET Bindings labels Mar 2, 2015
@jimevans
Copy link
Copy Markdown
Member

Merged in b2483a1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-dotnet .NET Bindings Z-awaiting review Archived: use GitHub review assignments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants