How to wait for an element before proceeding - Web Performance

How to wait for an element before proceeding