title: Python Selenium WebDriver - Possible to monitor XHR AJAX Calls?
body: <p>I am using Python with Selenium WebDriver to browse through website.</p>
  
  <p>Now I have the problem that I want to monitor the XHR AJAX calls, thrown on the current site.</p>
  
  <p>For example: I am on a specific page and the python selenium script clicks on a button on this site. This website button calls an AJAX request within this site.
  <strong>Is it possible to monitor this XHR AJAX request and get it in my python script to handle the called AJAX URL?</strong></p>
  
  <p>Thanks!</p>
  
  <p><strong>UPDATE:</strong> I exactly want to do sth like this (but in python obviously) </p>
  
  <p><a href="https://dmitripavlutin.com/catch-the-xmlhttp-request-in-plain-javascript/" rel="nofollow noreferrer">https://dmitripavlutin.com/catch-the-xmlhttp-request-in-plain-javascript/</a></p>