News for hackers. Stuff that matters.
Re:Consistent Selenium Testing in Python by zootam on Saturday September 02, 2017 @10:42PM (#15159417)
>There are a variety of ways of doing this, but you basically need a choke point in your application where all AJAX requests go through.

Does wrapping the XMLHTTPrequest object to get this functionality still count as sane?

Re:Consistent Selenium Testing in Python by stephen on Monday September 04, 2017 @05:01PM (#15170842)
Yep! We technically had our own layer on top of XMLHTTPRequest to use a centralized slice point instead, but AFAIK wrapping it directly would be great too.