Comments (8)
These are the preferences for Chrome and Edge: https://github.com/SeleniumHQ/selenium/blob/trunk/java/src/org/openqa/selenium/grid/node/local/LocalNode.java#L530-L539
We use them in Grid, and they work.
Did you actually check the second link or just the first? Mounted directories are owned by root, and the browser cannot write to a directory owned by root.
from docker-selenium.
I don't know if those preferences are correct. Here is an example you can use as a guide: https://elementalselenium.com/tips/2-download-a-file
In addition, you might be facing an issue with file permissions, so please check this troubleshooting guide as well: https://github.com/SeleniumHQ/docker-selenium?tab=readme-ov-file#mounting-volumes-to-retrieve-downloaded-files
If you have more questions, please use the links below.
from docker-selenium.
💬 Please ask questions at:
- 📫 The Selenium user group
- 📮 StackOverflow
- 🗣 Our IRC/Slack/Matrix channels where the community can help you as well
from docker-selenium.
I don't know if those preferences are correct. Here is an example you can use as a guide: https://elementalselenium.com/tips/2-download-a-file
In addition, you might be facing an issue with file permissions, so please check this troubleshooting guide as well: https://github.com/SeleniumHQ/docker-selenium?tab=readme-ov-file#mounting-volumes-to-retrieve-downloaded-files
If you have more questions, please use the links below.
Not helpful at all. Can't you see it says Chrome?
This code worked fine when I ran it directly on the host machine instead of Docker.
from docker-selenium.
What's with the 👎?
I am unaware of a property that must be set for Chrome to download multiple files. Selenium forwards the commands to Chrome. Most likely, some research needs to be done to get that working. Please share the solution when you find it.
from docker-selenium.
@nakamoto-upost, thank you for creating this issue. We will troubleshoot it as soon as we can.
Info for maintainers
Triage this issue by using labels.
If information is missing, add a helpful comment and then I-issue-template
label.
If the issue is a question, add the I-question
label.
If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted
label.
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable G-*
label, and it will provide the correct link and auto-close the
issue.
After troubleshooting the issue, please add the R-awaiting answer
label.
Thank you!
from docker-selenium.
Did you actually check the second link or just the first? Mounted directories are owned by root, and the browser cannot write to a directory owned by root.
I have confirmed that the permissions of the download destination mount folder have been changed and that the first file can be downloaded properly.
The problem is that the second file is blocked by a prompt and cannot be downloaded.
from docker-selenium.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from docker-selenium.
Related Issues (20)
- [🐛 Bug]: Startup probe failed: bash: line 1: /opt/selenium/nodeProbe.sh: No such file or directory HOT 12
- [🚀 Feature]: Decreasing container layers HOT 8
- [🐛 Bug]: Regression in selenium/standalone-firefox between 123.0 and 124.0+ related to confirmation dialog with onbeforeunload HOT 7
- [🐛 Bug]: Standalone-Firefox: Bidi not active? HOT 6
- [🐛 Bug]: You need to enable JavaScript to run this app. in UI HOT 6
- [🐛 Bug]: Chrome docker tags 124.0 / 4.20 SessionNotCreatedException HOT 13
- [🐛 Bug]: ScaledObject errors out when ServiceName has been used - GKE HOT 4
- [🐛 Bug]: Nodes couldn't active when enabling autoscaling and deployed on EKS HOT 5
- [🐛 Bug]: Firefox driver fails when used in Selenium Grid HOT 6
- [🐛 Bug]: Selenium Grid 4.20.0 not fetching node after some time HOT 3
- [🚀 Feature]: Question - is there a way IE Mode in EDGE supported in Linux OS based Grid edge node. HOT 6
- [🐛 Bug]: Deleting the node via CuRL command respawns a new node - Kubernetes HOT 5
- [🚀 Feature]: Upgrade to ubuntu 24.04 as Docker base image HOT 4
- [🐛 Bug]: selenium/standalone-chrome:4.20.0-20240505 Open Page Crash HOT 2
- [🐛 Bug]: Browser pods not scaling down HOT 1
- vnc is not working with helm template deployment on gke used 5900 port can you please help on it HOT 3
- Correct possible error in the documentation HOT 3
- [🚀 Feature]: Support for pod labels and annotations for patch-scaledobjects-finalizers job HOT 3
- [🐛 Bug]: Getting java.net.ConnectException while running tests that handle two windows HOT 7
- [🚀 Feature]: Selenium Grid Helm Chart: Do Not Patch Keda If Disabled HOT 3
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 docker-selenium.