我想在整个html文档中更改class =“testingCase”的所有属性名称。
例如更改:
<a class="testingCase" href="#" title="name of testing case">Blabla</a> <a class="testingCase" href="#" title="name of another testing case">Bloo</a>
为此:
<a class="testingCase" href="#" newTitleName="name of testing case">Blabla</a>` <a class="testingCase" href="#" newTitleName="name of another testing case">Bloo</a>`