lib/mohawk/adapters/uia_adapter.rb in mohawk-0.4.2 vs lib/mohawk/adapters/uia_adapter.rb in mohawk-0.4.3
- old
+ new
@@ -4,10 +4,12 @@
module Mohawk
module Adapters
class UiaAdapter
include UIA
+ attr_reader :locator
+
def initialize(locator, container=nil)
@children_only = locator.delete :children_only
@locator = locator
@container = container
end
@@ -72,6 +74,6 @@
locator = locator.merge children_only: true if @children_only
locator
end
end
end
-end
\ No newline at end of file
+end