sourcegraph / go-selenium

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

Default handle name in case of empty name. #24

Closed shicky closed 8 years ago

shicky commented 8 years ago

For several functions such as WindowSize(name string) takes window handle name as argument.

This can be confusing at times and should support default value of "current" in case empty string is passed as argument.

// This doesn't work but should work!
webDriver.WindowSize("") 
shicky commented 8 years ago

Resolved