Skip to content

Python client: driver.quit() might print <'NoneType' object has no attribute 'path'> #2981

@Herst

Description

@Herst

When doing driver.quit() the message 'NoneType' object has no attribute 'path' gets printed.

Testcase:

from selenium import webdriver
from selenium.webdriver.firefox.firefox_binary import FirefoxBinary

driver = webdriver.Firefox(executable_path="/path/to/geckodriver")

driver.quit()

Selenium 3.0.1 for Python 2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions