SenorKarlos / intelwatcher

Ingress Intel Portal Information Collector - For Educational Purposes Only
12 stars 11 forks source link

Cookie retrieval #2

Open SenorKarlos opened 3 years ago

SenorKarlos commented 3 years ago

I have tested and merged the cookie retrieval fix via Selenium to Develop. There was one comment that it did not work, but my test using Chrome went well and the PR indicated Firefox works as well. Looking for any other tests/comments before merging into master. Pull Develop to test.

acocalypso commented 3 years ago

It's not working for me I tried to use Firefox and chrome.

I always get this browser is not secure.

google_login_password

I'm using Google login

SenorKarlos commented 3 years ago

That would seem to be related to the browser itself and not the coding. There is no element for it to 'click' due to this blockage. I'm not sure what would fix that. Are you running this headless, and/or have you signed into intel with that account from GUI and/or behind the same IP?

acocalypso commented 3 years ago

It's headless

SenorKarlos commented 3 years ago

I know when this first started, mine didn't work due to 'location not recognized' when running on an off-site server. When I logged in from home and launched it from another machine on the network it fixed that.

I'm not sure how to make your browser installation 'secure' but that would be where I would start searching. Let me know if you find anything or fix it.

acocalypso commented 3 years ago

The following issues have been found so far:

Type Selenium Login: Facebook

There is a cookie allow screen in front of the login button image

After the login (manually) I have the same cookie window on the ingress map

SenorKarlos commented 3 years ago

That looks like something that could be handled by another find element & click. I'd need help to ID the element name, probably like acceptCookie or something lol

SenorKarlos commented 3 years ago

Update - pull master. If anyone has more browser element expertise, help would be appreciated.