title: How to test a script that relies on selenium?
body: <p>I've reached that point in my Python learning where I've written a script that relies in part on using Selenium to scrape a dynamically created webpage (for which Requests and BeautifulSoup are unrelevant).</p>
  <p><strong>How, however, am I supposed to test these parts of my script?</strong></p>
  <p>Is there a particular library for this? Do I have to develop a fake website (!) ? Or does the fact that the script works make it unnecessary to test it?</p>
  <p><em>PS: I understand that Selenium was initially created for development purposes and not for <strong>webscraping</strong>.</em></p>