{"record":{"id":"5e73963fcde228ec","repo":"reflex-dev/reflex","slug":"name","errorCode":null,"errorMessage":"{name}","messagePattern":"\\{name\\}","errorType":"exception","errorClass":"AttributeError","httpStatus":null,"severity":"error","filePath":"packages/reflex-base/src/reflex_base/components/component.py","lineNumber":131,"sourceCode":"            instance: The component instance, or ``None`` for class access.\n            owner: The owning class.\n\n        Returns:\n            ``self`` for class access, otherwise the default. Factory defaults\n            are cached on the instance so later in-place mutation persists.\n\n        Raises:\n            AttributeError: The field has neither a default nor a factory.\n        \"\"\"\n        if instance is None:\n            return self\n        if self.default is not MISSING:\n            return self.default\n        if self.default_factory is not None:\n            value = self.default_factory()\n            instance.__dict__[self._name] = value\n            return value\n        raise AttributeError(self._name)\n\n\ndef field(\n    default: FIELD_TYPE | _MISSING_TYPE = MISSING,\n    default_factory: Callable[[], FIELD_TYPE] | None = None,\n    is_javascript_property: bool | None = None,\n    doc: str | None = None,\n) -> FIELD_TYPE:\n    \"\"\"Create a field for a component.\n\n    Args:\n        default: The default value for the field.\n        default_factory: The default factory for the field.\n        is_javascript_property: Whether the field is a javascript property.\n        doc: Documentation string for the field.\n\n    Returns:\n        The field for the component.","sourceCodeStart":113,"sourceCodeEnd":149,"githubUrl":"https://github.com/reflex-dev/reflex/blob/45b8ed5ab735f8a56bbb09a42384f030eb0208e7/packages/reflex-base/src/reflex_base/components/component.py#L113-L149","documentation":"The AppHarness driver helper could not build Selenium driver options for the requested browser driver class. The code inspects the driver class name (chrome/firefox/etc.) to pick the matching Options object; an unknown or misspelled driver name leaves driver_options None and this RuntimeError is raised. It indicates an unsupported browser was requested via APP_HARNESS_DRIVER.","triggerScenarios":"Setting environment APP_HARNESS_DRIVER to a webdriver class whose name doesn't match a known browser (e.g. APP_HARNESS_DRIVER=Safari when only chrome/firefox option mapping is handled), or a custom driver class passed as driver_clz the function can't map to Options.","commonSituations":"CI configs pinning a browser the harness doesn't map; typos in the APP_HARNESS_DRIVER env var; upgrading Selenium where class names changed; running on browsers without headless option support in the mapping.","solutions":["Set APP_HARNESS_DRIVER to a supported browser (chrome or firefox)","Check the spelling/value of APP_HARNESS_DRIVER in your CI environment variables","If you need another browser, extend the options-selection logic or pass preconfigured driver_options to the call"],"exampleFix":"# before\nenvironment.APP_HARNESS_DRIVER.set(\"chromee\")\n# after\nenvironment.APP_HARNESS_DRIVER.set(\"chrome\")","handlingStrategy":"validation","validationCode":"from reflex.utils import environment\nassert environment.APP_HARNESS_DRIVER.get().lower() in (\"chrome\", \"firefox\")","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Pin APP_HARNESS_DRIVER to chrome or firefox in CI","Document supported browsers for your test suite"],"tags":["app-harness","selenium","driver-options","testing"],"backgroundTag":"unsupported-browser-driver","analyzedSha":"45b8ed5ab735f8a56bbb09a42384f030eb0208e7","analyzedAt":"2026-08-28T19:25:27.644Z","schemaVersion":2},"datasetVersion":"2026-08-28T21:17:43.275Z"}