power_settings_new

How to maximize a window in selenium webdriver?

by
asked
0 votes
48 views
How to maximize a window in selenium webdriver? Kindly provide a code sample.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

1 Answer

answered by
selected by
0 votes
 
Best answer

Use this.

 

diver.manage().window().maximize();
add
...