adds more features to setting elements in page test