# File lib/openurl/transport.rb, line 55
        def remove_context_object(element)
      idx = case element.class
      when Fixnum then element
      when OpenURL::ContextObject then @context_objects.index(element)
      else raise ArgumentError, "Invalid argument for element"
      end
      @context_objects.delete_at(idx)
        end