lib/webdrone/text.rb in webdrone-1.0.4 vs lib/webdrone/text.rb in webdrone-1.0.6
- old
+ new
@@ -18,11 +18,11 @@
item.collect(&:text)
else
item.text
end
rescue => exception
- Webdrone.report_error(@a0, exception, Kernel.caller_locations)
+ Webdrone.report_error(@a0, exception)
end
alias_method :id, :text
alias_method :css, :text
alias_method :link, :text
@@ -32,10 +32,10 @@
alias_method :xpath, :text
def page_title
@a0.driver.title
rescue => exception
- Webdrone.report_error(@a0, exception, Kernel.caller_locations)
+ Webdrone.report_error(@a0, exception)
end
protected :text
end
end