title: How to make sure selenium does not close the browser?
body: <p>So I was working on something that requires me to keep the browser open until unless it is closed by the user, however, the browser automatically closes after finishing its tasks, is there any way to prevent this?</p>
  <pre><code>def main():
      driver = webdriver.Chrome()
      driver.maximize_window()
      driver.get(&quot;https://www.google.com/&quot;)
  main()
  </code></pre>