Closed
Description
After using sb.switch_to_newest_window()
method to listen XHR of newest window, i recall listenXHR(tab)
method to listen xhr logs.
# Switching newest window
sb.switch_to_newest_window()
# Recalling
tab = sb.cdp.tab
listenXHR(tab)
.
.
loop = sb.cdp.get_event_loop()
xhr_responses = loop.run_until_complete(receiveXHR(tab, xhr_requests))
.
.
i also made a simple demo website that fits my scenario while i'm trying to solve it.
W3School's service for static web apps
https://myedgecase.w3spaces.com/index.html
I mention this issue before here #3782, but i guess i couldn't point actual problem