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

[🐛 Bug]: WebDriver' object has no attribute 'get_downloadable_files #1553

Closed
Mrrobi opened this issue Dec 28, 2023 · 8 comments
Closed

[🐛 Bug]: WebDriver' object has no attribute 'get_downloadable_files #1553

Mrrobi opened this issue Dec 28, 2023 · 8 comments
Labels
bug Something isn't working needs-triaging

Comments

@Mrrobi
Copy link

Mrrobi commented Dec 28, 2023

What happened?

I have been trying to use docker hosted selenium standalone chrome container to remotely execute my selenium commands, now the issue is I need to download a file., my remote container is able to download the file properly but the problem occurs when I was trying to download the remotely downloaded file into my local machine, te get_downloadable_files() function kept showing error of

'WebDriver' object has no attribute 'get_downloadable_files'

image

What browsers and operating systems are you seeing the problem on?

I was using the https://hub.docker.com/r/selenium/standalone-chrome
this image to host a remote server of the selenium

@Mrrobi Mrrobi added bug Something isn't working needs-triaging labels Dec 28, 2023
Copy link
Contributor

@Mrrobi, 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.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!

@Mrrobi Mrrobi changed the title [🐛 Bug]: [🐛 Bug]: WebDriver' object has no attribute 'get_downloadable_files Dec 28, 2023
@luisfcorreia
Copy link
Contributor

What code guide are you following?

@Mrrobi
Copy link
Author

Mrrobi commented Dec 29, 2023

What code guide are you following?

@luisfcorreia

https://www.selenium.dev/documentation/webdriver/drivers/remote_webdriver/

I am following this documentation

@luisfcorreia
Copy link
Contributor

can you share the whole code as a gist?

@Mrrobi
Copy link
Author

Mrrobi commented Dec 29, 2023

can you share the whole code as a gist?

https://gist.github.com/Mrrobi/2b5f9e22f15b662f40b3fe3b158b9558

here's the code

CC @luisfcorreia

@titusfortner
Copy link
Member

Try using chrome_options.add_argument("--headless=new")

@Mrrobi
Copy link
Author

Mrrobi commented Dec 29, 2023

Try using chrome_options.add_argument("--headless=new")

no luck :( same issue.
'WebDriver' object has no attribute 'get_downloadable_files'

@titusfortner
Copy link
Member

The bottom line is that the example code here is executing and passing properly in our CI — https://github.com/SeleniumHQ/seleniumhq.github.io/actions/runs/7351869652/job/20015844161

Please double check the version of Selenium both in the grid and in the client are the latest.
Turn on logging https://www.selenium.dev/documentation/webdriver/troubleshooting/logging/ and see if that gives you insight into what is happening.

If neither of the above tell you why you are having a problem go ahead and open up a new issue in our primary repo (this one is just for the website documentation, which is working as intended) and fill out all of the information requested by the template— https://github.com/SeleniumHQ/selenium/issues/new/choose

Thanks.

@titusfortner titusfortner closed this as not planned Won't fix, can't repro, duplicate, stale Dec 29, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Dec 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working needs-triaging
Projects
None yet
Development

No branches or pull requests

3 participants