Perfect optical absorption occurs in a metasurface that supports two degenerate and critically-coupled modes of opposite symmetry. The challenge in designing a perfectly absorbing metasurface for a desired wavelength and material stems from the fact that satisfying these conditions requires multi-dimensional optimization often with parameters affecting optical resonances in non-trivial ways. This problem comes to the fore in semiconductor metasurfaces operating near the bandgap wavelength, where intrinsic material absorption varies significantly. Here we devise and demonstrate a systematic process by which one can achieve perfect absorption in GaAs metasurfaces for a desired wavelength at different levels of intrinsic material absorption, eliminating the need for trial and error in the design process. Using this method, we show that perfect absorption can be achieved not only at wavelengths where GaAs exhibits high absorption, but also at wavelengths near the bandgap edge. In this region, absorption is enhanced by over one order of magnitude compared a layer of unstructured GaAs of the same thickness