West Yorkshire Police were urgently appealing for the public to help trace James Leslie, 37, in connection with the incident, which took place shortly after 4am today at Cardigan Road in the Hyde Park district.
The force said two uniformed officers attended a "routine call" to a disturbance and were confronted by a man at the address who fired at them.
"One female officer received serious but non life threatening injuries. A male officer was uninjured. The female officer is currently undergoing treatment in hospital," said a police spokesman.
At 10.45am, police said Mr Leslie had been arrested.