Selenium-WebDriverPractice - Practice Section

Selenium Practice Section

Opens a new page

Retrieves the title of the current page

Retrieves the handle of the current window

Retrieves handles of all open windows

Closes the current window

Closes the entire browser

Retrieves the current URL of the page

Retrieves the HTML source code of the page

Retrieves the size of the current window

Retrieves the position of the current window

Maximizes the current window (May not work in all browsers due to security restrictions)

Minimizes the current window (May not work in all browsers due to security restrictions)

Puts the current window in fullscreen mode (May not work in all browsers due to security restrictions)

Navigates to a new URL

Goes back in the browser history

Goes forward in the browser history

Refreshes the current page

Switches to a window with the given window ID (May not work in all browsers due to security restrictions)