WebPagetest Forums

Full Version: Valid DOM attributes
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

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)

Cheers
Steve
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.

Thanks,

-Pat
Ahhh, thanks for that ... I didn't realise that the "class" was named in the DOM differently

That makes it much easier!

Cheers
Steve
Reference URL's