Multi-GeV electron beams with energy up to 4.2 GeV, 6% rms energy spread, 6 pC charge, and 0.3 mrad rms divergence have been produced from a 9-cm-long capillary discharge waveguide with a plasma density of ≈7×10¹⁷ cm⁻³, powered by laser pulses with peak power up to 0.3 PW. Preformed plasma waveguides allow the use of lower laser power compared to unguided plasma structures to achieve the same electron beam energy. A detailed comparison between experiment and simulation indicates the sensitivity in this regime of the guiding and acceleration in the plasma structure to input intensity, density, and near-field laser mode profile.