You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently attempting to load a cookie before the loading of the page / browser but having issues. Is this possible or am I doing this wrong? Rather new to golang.
I am on vacation and not at my computer for another week but that seems right to me. I can pull up the snippet we use in our private code base if you still haven't gotten it to work by next Wed (please remind me by posting again then).
One thing I ran into with setting cookies (which is what you are probably encountering too) is that you do need to be on the same domain in the browser already. So we made our app return a quickly loading blank page at /cookietest and navigated to that in Selenium before setting cookies. This is a browser restriction not a Selenium or go-selenium restriction. (Otherwise how would know which domain the cookie was for?)
Makes sense on the second part there. I'll try to investigate and report back. Will need to ask the devs to add something in.
We are currently avoiding our splash screen using a javascript snippet for window.goBack() for now which seems to be working rather reliably -- Just extra load time is all. =]
Closing for now with the work around for me and I believe that the second paragraph from @sqs holds the key to the issue. Thanks for the reply @sqs!
Currently attempting to load a cookie before the loading of the page / browser but having issues. Is this possible or am I doing this wrong? Rather new to golang.
The text was updated successfully, but these errors were encountered: