LONDON — A driver for Uber in Lebanon has been arrested in connection with the killing of a British diplomat in Beirut over the weekend, and the ride-hailing company said on Monday that it was cooperating with the authorities.

The body of the victim, Rebecca Dykes, was found next to a highway on the outskirts of the Lebanese capital on Saturday. She is thought to have spent Friday night at a friend’s goodbye party in the Gemmayze district of Beirut.

“We are horrified by this senseless act of violence,” said Harry Porter, a spokesman for Uber. “Our hearts are with the victim and her family. We are working with authorities to assist their investigation in any way we can.”

News outlets have reported that the suspect had a criminal record. Uber has come under intense scrutiny in the past for its lax approach to conducting background checks on drivers. In 2014, both Uber and one of its competitors, Lyft, lobbied regulators in cities across the United States to ease rules requiring the fingerprinting of drivers for background checks, a more thorough but time-consuming process.