I\'m just starting to work with Java and Selenium and stuck with getting a NullPointerException in the following if statement when trying to switch to a third window opened. My