I am using open website option to open a login page of an application.
I have added wait of 5000 ms between open website and click of username text box. So I am providing 5 seconds for the web site to load and credentials are entered.
However, in some cases it takes more than 5 seconds for the website to load and the typing of user name is invoked on the loading screen.
Is there any way to perform actions after the website is completely loaded. In other words, tying of user name should happen only after all controls in the web page loaded.