inspect element to get post class