title: Selenium + WSL 2
body: <p>I am trying to set up python selenium to work on my WSL 2 (Kali).
  I have followed along with this article <a href="https://www.gregbrisebois.com/posts/chromedriver-in-wsl2/" rel="nofollow noreferrer">https://www.gregbrisebois.com/posts/chromedriver-in-wsl2/</a></p>
  <p>Running &quot;google-chrome&quot; in terminal returns a working browser.</p>
  <p>Trying to run this test script results in a browser window, but nothing loads into the window and no code after driver = webdriver.Chrome() runs.</p>
  <pre><code>from pyvirtualdisplay import Display
  from selenium import webdriver
  from selenium.webdriver.common.keys import Keys
  from selenium.webdriver.chrome.options import Options
  import time
  
  print('starting')
  
  driver = webdriver.Chrome()
  driver.get('https://www.google.com')
  
  print('Worked')
  driver.close()
  </code></pre>
  <p>This is the browser the script returns but never stops loading
  <a href="https://i.stack.imgur.com/P9uU9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/P9uU9.png" alt="enter image description here" /></a></p>