thommy_blank Posted January 20, 2020 Share Posted January 20, 2020 Hey there, I'm scripting a routine which opens and moves a lot of chrome-tabs on a Video-Wall. It uses the "Open-as-Popup" addon in Chrome to hide the browser-bar (therefore i cant usse IE). On Some Sites a login is required. On Most of them i can use the "Title" information to figure out if the brwoser is already loged in or not because the login Page has another title than the target page. Func Chrome_Boot() Run("C:\Program Files (x86)\Google\Chrome\Application\chrome.exe http://www.example1.de/page1") Sleep (5000) If WinExists ("loggedinTabName - Google Chrome","") Then WinActivate("loggedinTabName - Google Chrome") ;do nothing ElseIf WinExists ("NOTloggedinTabName - Google Chrome","") Then WinActivate("NOTloggedinTabName - Google Chrome") Send ("loginName{TAB}") Send("loginPW{Enter}") Else MsgBox($MB_RETRYCANCEL, "Whoops", "something went wrong") MyExit() EndIf Send ("!0") WinMove ( "loggedinTabName", "", 3855, 729 , 1272 , 720 ,5 ) EndFunc But on some sites when not logged in there only appears this Chrome-Popup: Is there any Way i can check if this login Screen apears or not ? Thanks in advance Link to comment Share on other sites More sharing options...
Danyfirex Posted January 21, 2020 Share Posted January 21, 2020 Hello. Seems to be It uses basic access authentication so you could probably avoid the Popup passing credentials in the url like: https://username:password@www.example.com/ Saludos thommy_blank 1 Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
CYCho Posted January 22, 2020 Share Posted January 22, 2020 @thommy_blank I had similar problem and I had to resort to Webdriver UDF to solve the problem. You can visit the following posts to learn about Webdriver UDF. thommy_blank 1 zPlayer - A Small Audio and Video Player Time Sync + SystemTimeAdjustment Link to comment Share on other sites More sharing options...
thommy_blank Posted March 19, 2020 Author Share Posted March 19, 2020 On 1/21/2020 at 12:33 PM, Danyfirex said: Hello. Seems to be It uses basic access authentication so you could probably avoid the Popup passing credentials in the url like: https://username:password@www.example.com/ Saludos That sadly didn't work.... it would have been so sweet tho Link to comment Share on other sites More sharing options...
thommy_blank Posted March 19, 2020 Author Share Posted March 19, 2020 On 1/22/2020 at 6:56 AM, CYCho said: @thommy_blank I had similar problem and I had to resort to Webdriver UDF to solve the problem. You can visit the following posts to learn about Webdriver UDF. I guess i have to give that a try and learn some new stuff. Thanks for the help Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now