Jump to content

Chrome Login Popup


Recommended Posts

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:

chrome_login.thumb.png.5d13738ab3c88eda9d97c4459954bd8b.png

Is there any Way i can check if this login Screen apears or not ? 

 

Thanks in advance

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 1 month later...
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 :D

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...