teamcapybara/capybara · error · Capybara::NotSupportedByDriverError

Capybara::Driver::Node#trigger

Error message

Capybara::Driver::Node#trigger

What it means

Error "Capybara::Driver::Node#trigger" thrown in teamcapybara/capybara.

Source

Thrown at lib/capybara/driver/node.rb:125

      def readonly?
        !!self[:readonly]
      end

      def multiple?
        !!self[:multiple]
      end

      def rect
        raise NotSupportedByDriverError, 'Capybara::Driver::Node#rect'
      end

      def path
        raise NotSupportedByDriverError, 'Capybara::Driver::Node#path'
      end

      def trigger(event)
        raise NotSupportedByDriverError, 'Capybara::Driver::Node#trigger'
      end

      def shadow_root
        raise NotSupportedByDriverError, 'Capybara::Driver::Node#shadow_root'
      end

      def inspect
        %(#<#{self.class} tag="#{tag_name}" path="#{path}">)
      rescue NotSupportedByDriverError
        %(#<#{self.class} tag="#{tag_name}">)
      end

      def ==(other)
        eql?(other) || (other.respond_to?(:native) && native == other.native)
      end
    end
  end
end

View on GitHub (pinned to 15b5fdb76e)

When it happens

Trigger: Thrown at lib/capybara/driver/node.rb:125 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of teamcapybara/capybara@15b5fdb76e (2026-08-21). Data as JSON: /api/errors/8e4dc925ee14cee3. Report an issue: GitHub.