instead of time.sleep we can use selenium waits until the element is visible and increase the timeout for the wait from the default just to cater to slow browsers