GithubHelp home page GithubHelp logo

Comments (2)

sqs avatar sqs commented on September 7, 2024

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?)

from go-selenium.

lxcodes avatar lxcodes commented on September 7, 2024

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!

from go-selenium.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.