sourcegraph / go-selenium

Selenium WebDriver client for Go
https://sourcegraph.com/github.com/sourcegraph/go-selenium
Other
367 stars 73 forks source link

Add /sessions command #9

Closed carstn closed 9 years ago

carstn commented 9 years ago

This adds a WebDriver method Sessions(), which returns an array of active server sessions according to the JsonWireProtocol command “/sessions”. A test for Sessions() is included in remote_test.go.

No existing code is modified, so nothing breaks when people update.

carstn commented 9 years ago

This fixes issue #8.

sqs commented 9 years ago

Great! Disregard my comment on that issue. My phone just loaded this. I will review this tomorrow (in about 12 hours).

sqs commented 9 years ago

Thanks!

carstn commented 9 years ago

Awesome, thank you!