Opt out of selenium manager's telemetry

Posted . Visible to the public.

If you use the selenium-webdriver gem, it will sneakily phone home once every hour whenever you run a browser based feature spec.

You can opt out Show archive.org snapshot either locally:

# .bashrc
export SE_AVOID_STATS=true

or project based

# spec_helper.rb
ENV['SE_AVOID_STATS'] = 'true'

To test if it works

  • Go offline
  • Remove ~/.cache/selenium/se-metadata.json
  • Run a JS feature spec
  • You should no longer see WARN Selenium [:selenium_manager] Error sending stats to Plausible: error sending request for url (https://plausible.io/api/event)

See also

Profile picture of Michael Leimstädtner
Michael Leimstädtner
Last edit
Michael Leimstädtner
License
Source code in this card is licensed under the MIT License.
Posted by Michael Leimstädtner to makandra dev (2025-12-05 19:29)