0
0
Selenium Pythontesting~10 mins

Maximize and minimize window in Selenium Python - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to maximize the browser window.

Selenium Python
driver.[1]()
Drag options to blanks, or click blank then click option'
Amaximize_window
Bminimize_window
Cfullscreen_window
Dset_window_size
Attempts:
3 left
💡 Hint
Common Mistakes
Using minimize_window() instead of maximize_window()
Trying to set window size manually instead of maximizing
2fill in blank
medium

Complete the code to minimize the browser window.

Selenium Python
driver.[1]()
Drag options to blanks, or click blank then click option'
Afullscreen_window
Bmaximize_window
Cminimize_window
Dset_window_size
Attempts:
3 left
💡 Hint
Common Mistakes
Using maximize_window() instead of minimize_window()
Using fullscreen_window() which makes the window full screen but not minimized
3fill in blank
hard

Fix the error in the code to maximize the window.

Selenium Python
driver.[1]()
Drag options to blanks, or click blank then click option'
Amaximize_window
Bmaximizewindow
Cmax_window
DmaximizeWindow
Attempts:
3 left
💡 Hint
Common Mistakes
Using camelCase like maximizeWindow()
Missing underscore between maximize and window
4fill in blank
hard

Fill both blanks to maximize and then minimize the browser window.

Selenium Python
driver.[1]()
driver.[2]()
Drag options to blanks, or click blank then click option'
Amaximize_window
Bminimize_window
Cfullscreen_window
Dset_window_size
Attempts:
3 left
💡 Hint
Common Mistakes
Swapping the order of maximize and minimize
Using fullscreen_window() instead of minimize_window()
5fill in blank
hard

Fill all three blanks to maximize, minimize, and then fullscreen the browser window.

Selenium Python
driver.[1]()
driver.[2]()
driver.[3]()
Drag options to blanks, or click blank then click option'
Amaximize_window
Bminimize_window
Cfullscreen_window
Dset_window_size
Attempts:
3 left
💡 Hint
Common Mistakes
Using set_window_size() instead of fullscreen_window()
Wrong order of method calls