The Israeli military says it has arrested a senior commander of the Palestinian faction Hamas after he spent more than a decade on the run .