need a solution to the project
Project detail
1.we need to navigate to 5 urls or websites that should be in infinity loop with time interval 30 seconds for each url.
2.while navigating to urls or websites when the user moves the mouse the urls/website stops navigating to another url.
3.when the mouse keeps idle then again continue the process. Conditions: Counter = 30 (the counter is the time in 30 seconds) the counter is increment or decrement from 1 to 30 or 30 to 1 while navigating from one URL to another URL.
I tried navigating to 5 URL’S with infinite loop by the following code
while(1 == 1)
{
driver. Navigate().GoToUrl(“https://www.google.com”);
thread. Sleep(30000);
driver.Navigate().GoToUrl(“https://www.youtube.com”);
thread. Sleep(30000);
driver.Navigate().GoToUrl(“https://www.yahoo.com”);
thread. Sleep(30000);
driver.Navigate().GoToUrl(“https://www.stackoverflow.com”);
thread. Sleep(30000);
driver.Navigate().GoToUrl(“https://www.javatpoint.com”);
thread. Sleep(30000);
driver. Quit();
}