metas[i].getAttribute('name'); //metas is the array obtained from the above snippet