BrowserTools.Screenshot.GetChildWindowName C# (CSharp) Method

GetChildWindowName() static private method

static private GetChildWindowName ( string processName ) : string
processName string
return string
        static string GetChildWindowName(string processName)
        {
            if (processName == "chrome" || processName == "opera")
                return "Chrome_RenderWidgetHostHWND";
            else if (processName == "iexplore")
                return "Internet Explorer_Server";
            else if (isMSEdgeBrowser(processName))
                return "ApplicationFrameInputSinkWindow";

            return "";
        }