Issue #2031223 by acbramley, Spokje, Berdir, ravi.shankar, smustgrave, larowlan, mondrake, a_c_m: Add linkByHrefExistsExact and linkByHrefNotExistsExact for matching links by href exactly (cherry picked from commit 78a3d4a1)