deleted wait
Add implementation for browsers