lib/scrap_kit/recipe.rb in scrap_kit-0.1.9 vs lib/scrap_kit/recipe.rb in scrap_kit-0.1.10

- old
+ new

@@ -123,9 +123,11 @@ output[child_attribute_name] = extract_attribute(element, child_selector) end output end + elsif selector_or_object[:javascript] + @browser.execute_script(selector_or_object[:javascript]) else found_elements = elements_from_selector(browser_or_element, selector_or_object) if found_elements.size === 1 extract_value_from_element(found_elements.first)