Cannot find element from a jump out window. How can I switch to a new jump out window?
<p>I'm trying to automate our system with Python2.7, Selenium-webdriver, and Sikuli. I have a problem on login. Every time I open our system, the first page is an empty page, and it will jump to another page automatically; the new page is the main login page, so Python is always trying to find the element from the first page. The first page sometimes shows:</p>

<blockquote>
  <p>your session has timeout</p>
</blockquote>

<p>I set a really large number for session timeout, but it doesn't work.
Here is my code:</p>

<pre><code>import requests
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
import time

driver = webdriver.Chrome()
driver.get('http://172.16.1.186:8080/C******E/servlet/LOGON')
# time.sleep(15)

bankid = driver.find_element_by_id("idBANK")
bankid.send_keys(01)

empid = driver.find_element_by_id("idEMPLOYEE")
empid.send_keys(200010)

pwdid = driver.fin`enter code here`d_element_by_id("idPASSWORD")
pwdid.send_keys("C******e1")

elem = driver.find_element_by_id("maint")
elem.send_keys(Keys.RETURN)
</code></pre>