Temporally resolved target potential measurements in laser-target interactions