Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome download path on windows grid server gets a forward slash when executed from linux #2854

Closed
dpn982 opened this issue Jun 22, 2022 · 2 comments

Comments

@dpn982
Copy link

dpn982 commented Jun 22, 2022

I am having an issue running through jenkins (linux) against a windows selenium grid node chrome download path gets converted to a path with forward slashes. I have tried using both the properties file and the conf file and get the same result.

conf file:

chrome_preferences {
download {
default_directory="S:\\export"
}
}

Or

serenity.properties:

chrome_preferences.download.default_directory=S:\export

the S drive is mounted to a samba network share. If I look in the console window for the node I see the following capability:

I checked the download folder path in the chrome browser running on the Windows selenium grid (even tried latest 4 release) and the download path is set to S:/Export. Chrome on windows does not even allow you to enter this manually.

I was able to work around the issue by using the Serenity BeforeAWebdriverScenario extension and changing the path back to S:\Export after which the test executed fine.

This is occurring on even the Serenity 3.2.1 release.

@wakaleo
Copy link
Member

wakaleo commented Aug 22, 2022

@dpn982
Copy link
Author

dpn982 commented Feb 14, 2024

This seems to be working now, using the link above on serenity-core 4.0.46.

@dpn982 dpn982 closed this as completed Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants