Forums

Chrome extension to reload the WebApp?

Hello,

I see that forcing a reload of the webapp is just a case of 'getting' http://www.pythonanywhere.com/user/???/webapps/reload

I find myself creating a very small Chrome window that solely has the 'Reload' button visible - has anyone put together a Chrome button/extension that does the same thing?

Cheers, Robert

Yup, sure is. But with the added wrinkle that you have to be authenticated and have a valid session. You could just bookmark it and keep it on your toolbar?

Good thinking.

BTW, any chance of having a 'Save & Reload WebApp' button for files inside the Django directory?

Just asking...

It looks like the code you mentioned was not included in your post...?

Hello, can you please enable extensions in chrome driver please?

That is something that you need to do in your code:

chrome_options = Options()
chrome_options.add_extension('path_to_extension')

driver = webdriver.Chrome(chrome_options=chrome_options)