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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[馃悰 Bug]: AttributeError: 'service' object has no attribute '_path' #13678

Open
hsn3043 opened this issue Mar 11, 2024 · 1 comment
Open

Comments

@hsn3043
Copy link

hsn3043 commented Mar 11, 2024

What happened?

I have a python project running natively and Selenium running on a docker container (latest version [selenium/standalone-firefox:4.18.1-20240224]).
When I have configured version 4.8.0 <= the project does connect to the docker container and there are no issues with my crawlers, but for versions 4.9.0 >= they fail with error AttributeError: 'FirefoxRemoteService' object has no attribute '_path'.

These are the configurations:
selenium-firefox:
driver_executable_path:
driver_arguments: ['-headless']
selenium_download_dir:
local_download_dir:
driver_preferences:

this does work on 4.8.0, but not on 4.9.0.

I did check the changelog but I did not see anything that could help. Trying to update to latest version, but noticed this.

How can we reproduce the issue?

selenium-firefox:
  driver_executable_path:
  driver_arguments: ['-headless']
   selenium_download_dir: 
  local_download_dir: 
  driver_preferences:

Relevant log output

lib\site-packages\selenium\webdriver\common\service.py", line 83, in path
    return self._path
AttributeError: 'FirefoxRemoteService' object has no attribute '_path'

Operating System

Windows 11

Selenium version

4.18.1

What are the browser(s) and version(s) where you see this issue?

Firefox 96

What are the browser driver(s) and version(s) where you see this issue?

Selenium running on docker

Are you using Selenium Grid?

No response

Copy link

@Hysnijee, 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!

@hsn3043 hsn3043 changed the title [馃悰 Bug]: AttributeError: 'FirefoxRemoteService' object has no attribute '_path' [馃悰 Bug]: AttributeError: 'service' object has no attribute '_path' Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant