I'm a bit confused.
If you are sending actions to the server and notifying other players, it sounds like you might be notifying them without updating the game database? So either you do notify and a page refresh for Player 1 should show him the game state the other players also see. Or you let Player 1 perform all actions and only notify the other players when you do update the database.
If you are talking about undo functionality (ie rolling back the database), which should not happen on a page refresh, you can send them a notification to undo as well.
In your first message you state actions are done client side, ie nothing is sent to the server. In that case other players should not have received any notifications and there is no issue with Player 1 refreshing (pressing F5).Player 1 is in State1, performs some actions on client side that impact other players but does not change state
If you are sending actions to the server and notifying other players, it sounds like you might be notifying them without updating the game database? So either you do notify and a page refresh for Player 1 should show him the game state the other players also see. Or you let Player 1 perform all actions and only notify the other players when you do update the database.
If you are talking about undo functionality (ie rolling back the database), which should not happen on a page refresh, you can send them a notification to undo as well.