Sometimes we need to switch from one window to another window in our automation. Selenium webdriver has given us a nice command.
Here argument is the title of the window. I found it very successful.
For example, if title of the window is “Olympic”, then command will be in Java,
We can get the title of the window by using firebug.