Valid DOM attributes


I was wondering if there are rules around which DOM elements can be instrumented using pagetest / urlblast.

Right now I only have success with “id” and “title”.

Is there is list? I ask because I have tried other DOM elements, but they don’t work (ie urlblast does not pick them up)


There shouldn’t be. The one that you do have to watch out for specifically is class which is actually className in IE’s DOM (and we use it pretty extensively). id is certainly the fastest because it doesn’t have to walk the full DOM looking for it but it should be able to look for any attribute.

Do you have an example you’re having problems with? If so I can take a look at it.



Ahhh, thanks for that … I didn’t realise that the “class” was named in the DOM differently

That makes it much easier!