# selenium.webdriver.firefox.firefox_binary

Classes

`FirefoxBinary`(**kwargs) | Creates a new instance of Firefox binary.

class selenium.webdriver.firefox.firefox_binary.FirefoxBinary(**kwargs)

  Creates a new instance of Firefox binary.

  Args:

    - firefox_path - Path to the Firefox executable. By default, it will be detected from the standard locations.

    - log_file - A file object to redirect the firefox process output to. It can be sys.stdout.

        Please note that with parallel run the output won’t be synchronous. By default, it will be redirected to /dev/null.

  NO_FOCUS_LIBRARY_NAME = 'x_ignore_nofocus.so'
  add_command_line_options(*args)
  launch_browser(profile, timeout=30)

    Launches the browser for the given profile name.

    It is assumed the profile already exists.

  kill()

    Kill the browser.

    This is useful when the browser is stuck.

  which(fname)

    Returns the fully qualified path by searching Path of the given name.