titanium-web-proxy
titanium-web-proxy copied to clipboard
AJAX call is not shown and captured while working with selenium
I'm using Selenium and Titanium Web Proxy to capture some AJAX calls with specific patterns. I'm using BeforeResponse
handler and check e.HttpClient.Request.RequestUri
. I constantly find a button on the page via Selenium and click it so that next AJAX call would be made with that pattern and I'll catch it.
Everything works just fine. But after some time (like 5 minutes of execution) those AJAX calls are not captured anymore. I check Chrome's Developers Tools going into Network
tab and I can see that those calls are not actually made. But the data on the page gets updated.
How can I debug this? Is it Chrome's bug? or Selenium' bug? or Titanium's bug? I don't know. Have you ever seen something similar?
The point is, I can see other AJAX calls that I'm not capturing in the Network tab. And I can log them in BeforeResponse
method. But the one's that I'm interested in are not being shown in Network tab, nor are logged in BeforeResponse
method.
I don't think that this is a TWP bug. Did you find a reason/solution?