title: How to prevent undetected chromedriver from closing window after last line of code
body: <p>I am using the <strong>undetected chromedriver</strong> in python selenium, my problem is that it always closes the window after ending the program.</p>
  <p>For example I have a line of code like:</p>
  <pre><code>driver.get('www.google.com')
  </code></pre>
  <p>It obviously opens google but then immediately closes the window. When I use my own chromedriver, the window stays open and I can still surf on that window even when the program ends.</p>
  <p>Any solutions?</p>