Selenium RC Select and Close Window

Selenium RC Select and Close Window



This C# method provides you to select the pop-Up window name and close it in a definite interval of time. You need to pass pop-Up window name and time to wait in milliseconds.


public static void SelectAndCloseWindow(string popUpName, int insertDelay)
        {
            ISelenium Selenium = GetSeleniumInstance();
            Selenium.SelectWindow(popUpName);
            Selenium.Close();
            if (insertDelay > 0)
            Thread.Sleep(insertDelay);
        }


go to link download

Popular posts from this blog

DroidJack RAT Androrat Android Sample

Modern Combat 2 Black Pegasus apk data Free Download

Notepad 6 6 8