Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add MinimizeWindow() #172

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

add MinimizeWindow() #172

wants to merge 1 commit into from

Conversation

xucs007
Copy link

@xucs007 xucs007 commented Jul 24, 2019

MinimizeWindow() now works as of today (2019-07-24), with newest: selenium-server-standalone-3.141.59.jar

@@ -271,6 +271,7 @@ type WebDriver interface {
// MaximizeWindow maximizes a window. If the name is empty, the current
// window will be maximized.
MaximizeWindow(name string) error
MinimizeWindow(name string) error
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -271,6 +271,7 @@ type WebDriver interface {
// MaximizeWindow maximizes a window. If the name is empty, the current
// window will be maximized.
MaximizeWindow(name string) error
MinimizeWindow(name string) error
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also needs a test, similar to the existing MaximizeWindow test:

t.Run("MaximizeWindow", func(t *testing.T) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants