def METHOD_NAME(creator):
    log_file = os.path.join(creator.output_dir, "geckodriver-1.log")
    expected_webdriver = mock()
    options = mock()
    when(webdriver).FirefoxOptions().thenReturn(options)
    when(webdriver).Firefox(
        options=options,
        service=ANY,
    ).thenReturn(expected_webdriver)
    driver = creator.creator.create_firefox({}, None, None, service_log_path=None)
    assert driver == expected_webdriver