Currently, I am utilizing the Command & Target provided by Selenium IDE to validate the precise text of a meta description
verifyelementpresent : //meta[@name='description' and @content='description here']
I want to ensure that the meta description contains between 145 and 165 characters in order to confirm its presence. This way, if the description is altered, the test will only fail if it falls below 145 characters or exceeds 165 (which is not possible for a meta description anyway).
Could someone help me create this expression? It seems like some kind of variable may be needed under content to check the length.