Comments (2)
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.
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)
- No way to switch to frame parent HOT 1
- GetCookies sometimes fails on chromedriver HOT 3
- How to switch to frame via WebElement?
- Screenshot return 24 bytes of nothing HOT 1
- Default handle name in case of empty name. HOT 1
- Screenshot() can return io.Reader instead of byte array to give user more control over data HOT 2
- Impose read limit for large content/screenshot etc.
- Remove hard-coded package url HOT 2
- Explicitly waiting for new page to load after Click() HOT 2
- How to set proxy? HOT 1
- Element Screenshot HOT 4
- Selenium ChromeDriver switch tabs HOT 2
- Is this project still maintained? HOT 3
- Failed to open session: unknown error - 33: Unable to create new service: GeckoDriverService HOT 1
- Doesn't work with IeDriverServer
- How to add addon firefox?
- Xpath
- Chrome Instance/Profile? HOT 4
- /sessions not implemented HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-selenium.