Comments (6)
@vidushi283 did you try prefs from this answers? https://stackoverflow.com/questions/46937319/how-to-use-chrome-webdriver-in-selenium-to-download-files-in-python
from moon.
@vidushi283 did you try prefs from this answers? https://stackoverflow.com/questions/46937319/how-to-use-chrome-webdriver-in-selenium-to-download-files-in-python
@vania-pooh
Currently I have set
ChromeOptions.AddUserProfilePreference("download.default_directory", "/home/selenium/Downloads");
ChromeOptions.AddUserProfilePreference("download.prompt_for_download": False,);
with same pref , file is downloaded on moon instance on windows but gives the prompt when test is running on moon instance on AWS EKS
from moon.
@vidushi283 are browser versions the same in both cases?
from moon.
@vania-pooh Working fine . it seems middle ware was the culprit. I am using testkube as my test execution tool and it pulls the image of my code from ECR repository . It seems it was not pulling the latest image which has these changes for download
Thanks
from moon.
@vidushi283 ok, closing then.
from moon.
Hi @vidushi283 @vania-pooh I am facing similar issue.
When I run test case which download a file. It works fine when moon instance is running on windows but a pop up to download file appears when moon instance running on Jenkins.
using this snippet
prefs.put("download.default_directory", System.getProperty("project.build.directory") + File.separator + "target"); prefs.put("download.prompt_for_download", false);
Chrome version :123
Can you please help me in resolving this issue.
from moon.
Related Issues (20)
- Automatically attach cypress-moon binaries to Moon releases
- Init containers support for Moon deployment
- Apply context data to init defender container HOT 1
- Sessions don't start - no such config: "default" HOT 2
- Monitoring: queued metric is calculated incorrectly
- Clipboard functionality does not work as expected
- VNC server does not start on Openshift
- Moon UI Console HOT 1
- Improve new Moon UI VNC performance HOT 1
- VNC container does not start in Openshift HOT 1
- Document `vnc-server-openshift` image HOT 1
- Slack sign-in page cannot be launched with Chrome browser on moon HOT 7
- Watch users file for changes in moon-basic-auth container
- File download and list API for Playwright HOT 4
- VNC image for Openshift is broken HOT 1
- Chrome and edge sessions are not created HOT 3
- Ability to specify livenessProbe for moon-conf container HOT 1
- Video recording with sound
- Slow down of tests - Debugging HOT 4
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 moon.