a = "//a[contains(@href,'attestation-upload')]"
cssify(a)
output:
a[href*=attestation-upload]
expected condition:
in this case proper css selector, or the more accurate selector would be one with quoted value:
a[href*='attestation-upload']
I believe there should be an elegant way to make it happen