lib/fluent/platform_mechanize/platform_object.rb in fluent-0.7.2 vs lib/fluent/platform_mechanize/platform_object.rb in fluent-0.7.3
- old
+ new
@@ -18,15 +18,17 @@
def markup
driver.current_page.body
end
def get_cookie_value(name)
- for cookie in driver.cookie_jar.cookies
+ for cookie in driver.cookie_jar.cookies
if cookie.name == name
return cookie.value
end
end
+ nil
end
+
end
end
end
end
\ No newline at end of file