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

Firefox Driver doesn't clean up /tmp/ profiles #2908

Closed
webtoman opened this issue Oct 12, 2016 · 0 comments
Closed

Firefox Driver doesn't clean up /tmp/ profiles #2908

webtoman opened this issue Oct 12, 2016 · 0 comments

Comments

@webtoman
Copy link

webtoman commented Oct 12, 2016

Meta -

OS: Ubuntu 16.04

Selenium Version: Standalone server 3.0.0 Beta 4

Browser: Firefox

Browser Version: 47.0.1

Expected Behavior -

No unused profile directories in anonymous*webdriver-profile

Actual Behavior -

Lots of unused profile directories. Eventually the VM running the selenium server ran out of disk space.

Steps to reproduce -

  1. Start selenium server: java -jar selenium-server-standalone.jar
  2. In Python, create and then quit a remote browser instance:
    from selenium import webdriver
    from selenium.webdriver.common.desired_capabilities import DesiredCapabilities.FIREFOX as ff

    driver = webdriver.Remote(command_executor='http://localhost:4444/wd/hub', desired_capabilities=ff)
    driver.quit()
  1. Inspect the /tmp/ directory.
    ls -l /tmp/ | grep -E anonymous.*webdriver
@lukeis lukeis closed this as completed in 3d30e5e Oct 13, 2016
@lock lock bot locked and limited conversation to collaborators Aug 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants