Since you mentioned that other open browsers should be closed, i figured that in order for me to run this safely without disrupting my other tasks, it would really need me to use some virtual machine so I can isolate my automation runs. Anyways, your code helped me figure out how to bypass Active Directory. Thank you very much for this!
This was my primary motivation why I researched how to start Chrome Browser with predefined custom Chrome Profile.
To tell you the truth, I was not successful for my issue. I have never succeeded to make Chrome Browser started retaining “already logged in status” of Web applications. I could not find out the detail but Chrome Browser is very well-engineered in terms of “Security”. I could not cheat Chrome at all.
I have got tired trying to cheat Chrome, and I am negative I could achieve it in future.
@kazurayam
Man , you`ve solved one of my worst problems and i thank you so mush <3 .
But there is always the question, can we have the same thing for other browsers , Firefox , Opera,Safari maybe ?
Yes, you are correct. The thing is that the application that I have been testing for a while uses user name and password, so, when I try to log in, I am rejected since, by default chrome does not allow third party cookies… It worked (opening browser in incognito and log in) till last week Now I am blocked and trying to find a solution for chrome automatically accepting all cookies while in incognito
Chrome is highly secured software. I do not think we can cheat Chrome. I am negative you can find a way to force Chrome to accept externally prepared cookies.
Rather, I would recommend to you to develop a set of lengthy test-case scripts in Katalon Studio that setup cookies from scratch with zero cookies. It will trace login process with ID/PW, it will call up pages and put info to record in cookies etc. It may take several minutes to run through the setup processing. Once you execute the setup scripts, then you can start functional testings with cookies as you setup.