Open rafaelmfonseca opened 1 month ago
@rafaelmfonseca, thank you for creating this issue. We will troubleshoot it as soon as we can.
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!
What happened?
I'm using the selenium/standalone-chrome Docker image to set up a Selenium Grid with Chrome for running WebDriver tests remotely. This container is hosted on a separate machine (let's call it Computer A), but the application calling the remote WebDriver it's on a different server (Computer B).
When I attempt to call setDownloadPath from Computer B, it fails because it verifies if the folder exists on Computer B. However, the actual download occurs on Computer A, where the folder doesn't exist on Computer B.
I currently solve this problem by sending the Page.setDownloadBehavior command directly to DevTools:
(which is exactly what
setDownloadPath
does)How can we reproduce the issue?
You need to setup two computers, first one using Selenium Grid:
Then the second one, with the node app. Build the remote driver, and later call
setDownloadPath
with a folder that does not exists on computer where the node app is running (but the folder only exists inside the container):Error returned:
Relevant log output
Operating System
Where Node App is hosted: Windows 11 Where Selenium Grid is:
Selenium version
4.21.0
What are the browser(s) and version(s) where you see this issue?
Chrome, 125.0.6422.76
What are the browser driver(s) and version(s) where you see this issue?
4.21.0
Are you using Selenium Grid?
Grid version: 4.21.0 (revision 79ed462ef4)