The pre-War RAF got what it was given by the civil servants of Whitehall, who sometimes listened to the experts, but often didn't. The MoD tried many trials of different armament to replace the old Vickers .303. The .303 Colt-Browning Star machinegun used in the Hurricane and Spitfire was actually meant as a stop-gap until a suitable cannon could be developed. Even then, Ralph Sorley came up with a formula that insisted a minimum of eight .303 MGs were required. The MoD had tried the Vickers 25mm, the Oerlikon 20mm FFL, the 37mm COW gun, and even considered an air-cooled version of the Vickers .5, but none met their criteria for throwing a certain poundage of HE at a target in a two-second burst. The RAF could have had an air-cooled version of the Vickers .5 with SAPI and HE rounds in operation long before 1939.
The RAF and MoD did test an early version of the Browning .50, but were not impressed because it did not offer a big enough HE loading. The RAF's fighters were intended as interceptors for killing bombers, and the fashionable thinking of the day (thanks to the French) was that cannon were the way to go. The same thinking saddled the P-39 with the 37mm Oldsmobile M4 cannon.
The MoD developed an unbreakable fixation with the French Hispano 20mm, ignoring all other tried-and-tested options, despite the gathering clouds of War. Hawkers made a pre-War version of the Hurricane for Belgium which carried four .52 FN-Brownings, but the RAF ignored the option. In the Summer of 1940, when the RAF realised they probably needed more punch for the average pilot to knock down a Heinkel 111 with one burst, the Hispano was still a piece of junk. It had unreliable feed from a small magazine, an HE round that was just as likely not to explode on hitting an enemy as it was to explode in the barrel, and no incendiary round nor tracer. They finally got a semi-decent version in the Hispano II in the Hurricane IIC in 1941, by which time the large fleets of Luftwaffe bombers they were intended for were heading off to Russia. Though the Hispano got better with time, it wasn't really good until the MkV appeared. By then, the Browning .50 had long since been perfected.
One reason the RAF and MoD resisted the Browning .50 was Ralph Sorley's formula, and that stated that six .50 Brownings were the very minimum required, with a preference for eight! That is why in 1940 the MoD wasted time asking for versions of the P-40 (and later the P-51) with the capability to carry Hispano cannon, insisted the F4F-4 had to carry six .50s, and is thought to be one of the reasons the P-47 got eight .50s. Once a thought becomes entrenched in the mind of civil servants, it is very hard to change.