@Pro100Chel said in Как эмулировать нажатие клавиши F5?:
location.reload()
Generally speaking it is not needed to emulate F5, using location.reload in JS
is enough.
But you can, however emulate key press in JS also.
You just have to know key code for F5, which is 116.
Now you just have to apply JS code to emulate function
key press. You can find it on stackowerflow or similar sites,
for example read this for start >
https://stackoverflow.com/questions/596481/is-it-possible-to-simulate-key-press-events-programmatically