Sha256: 503df05abb466c0f3133eb4f5f839232adca4679074b0657a1ab2a5f36e9cd08
Contents?: true
Size: 504 Bytes
Versions: 5
Compression:
Stored size: 504 Bytes
Contents
module Kookaburra class UIDriver include HasBrowser include HasUIComponent def test_data @test_data ||= @opts.fetch(:test_data) end def initialize(opts = {}) super @opts = opts end def navigate_to(component_id, parameters = {}) if ui_component_names.include?(component_id) self.send(component_id).show!(parameters) else raise UIComponentNotFound, "The #{component_id} component is not registered" end end end end
Version data entries
5 entries across 5 versions & 1 rubygems