python capture autorefresh ifframe code example Example: js reload iframe document.getElementById('youriframe').contentWindow.location.reload()