Added setAttribute and domcrawlerHelper methods.