Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic Page Refresh #8

Closed
alexanderpreston opened this issue Dec 1, 2017 · 5 comments
Closed

Automatic Page Refresh #8

alexanderpreston opened this issue Dec 1, 2017 · 5 comments

Comments

@alexanderpreston
Copy link

What would be the easiest way of implementing an automatic page refresh? For instance, every 10 minutes, for pages that don't automatically refresh their own data.

@petrosagg
Copy link
Contributor

I think the easiest is using a wrapping page with an iframe and some js to recreate it every 10 minutes. Otherwise you can restart the browser by modifying the init script

@alexanderpreston
Copy link
Author

alexanderpreston commented Dec 1, 2017 via email

@petrosagg
Copy link
Contributor

Yes, you can write a for loop or create a JS file that has the variable for the iframe option. echo "var TIMEOUT = ${TIMEOUT};" > config.js

@alexanderpreston
Copy link
Author

alexanderpreston commented Dec 2, 2017 via email

@petrosagg
Copy link
Contributor

No, you can also kill the browser and bring it back up at the interval you want. Not exactly a refresh though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants