0
0
mirror of https://github.com/puppeteer/puppeteer synced 2024-06-14 14:02:48 +00:00
puppeteer/test/assets/self-request.html
yujiosaka c866c175f8 fix: page.goto should support pages with self requests () ()
This patch fixes `page.goto` for websites that re-request document URL with javascript.

Fixes .
2018-01-12 00:16:36 -08:00

6 lines
106 B
HTML

<script>
var req = new XMLHttpRequest();
req.open('GET', '/self-request.html');
req.send(null);
</script>