lib/webdrone/vrfy.rb in webdrone-0.9.2 vs lib/webdrone/vrfy.rb in webdrone-0.9.8

- old
+ new

@@ -10,16 +10,16 @@ def initialize(a0) @a0 = a0 end - def id(text, attr: nil, eq: nil, contains: nil) + def id(text, n: 1, visible: true, attr: nil, eq: nil, contains: nil) vrfy @a0.find.id(text), attr: attr, eq: eq, contains: contains rescue => exception Webdrone.report_error(@a0, exception, Kernel.caller_locations) end - def css(text, attr: nil, eq: nil, contains: nil) + def css(text, n: 1, visible: true, attr: nil, eq: nil, contains: nil) vrfy @a0.find.css(text), attr: attr, eq: eq, contains: contains rescue => exception Webdrone.report_error(@a0, exception, Kernel.caller_locations) end