I am not able to force a HTML element into variable, it just show that HRGopen.Document.All.portletTitleText.innerText is unknown name.
After few hours of searching I am still facing same error.
SetTitleMatchMode, 2 HRG = https://somewebpagethatidonotlike.com/ #F:: HRGopen := ComObjCreate("InternetExplorer.Application") HRGopen.Visible := true HRGopen.Navigate(HRG) while HRGopen.busy Sleep 10 HRGopen.Document.All.MainContent_DropDownListCountry.Value := "LT" HRGopen.Document.All.MainContent_CompanyName.Value := "NiceCompany" HRGopen.Document.All.MainContent_UserName.Value := "[email protected]" HRGopen.Document.All.MainContent_Password.Value := "veryhardpasswordindeeed" HRGopen.Document.All.MainContent_LoginButton.Click() WinWait, that new title after login while HRGopen.busy Sleep 10 TravelFrom := HRGopen.Document.All.portletTitleText.innerText ;Ohh old gods of coding, why the smirk??.. ;FromDate := HRGopen.Document.All.date.InnerText ;TravelTo := HRGopen.Document.All.E_LOCATION_1.Value ;ToDate := MsgBox From: %TravelFrom% ; Return x:: ExitApp