title: AttributeError: 'WebDriver' object has no attribute 'switch_to_window_handles'
body: <p>I'm trying to write this code using Selenium and Python to skip to next windows of browser:</p>
  
  <pre><code>browser.switch_to_window_handles(browser.window_handles[-1])
  </code></pre>
  
  <p>But I don't understand why this error occured, please help me</p>
  
  <p>error: AttributeError: 'WebDriver' object has no attribute 'switch_to_window_handles'</p>