Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. within("div.product-action") do
  2. @product_url = find("a.href")
  3. end
  4.  
  5. Capybara::ElementNotFound: Unable to find css "a.href"
  6.  
  7. <div class="product-action zoom" ng-class="{ 'logged-out': !user.$isLoggedIn }">
  8. <a href="/g/women/christian-dior/so-real-sunglasses-colorless" title="Christian Dior So Real" Sunglasses-Colorless" ng-click="ProductUtils.cache(result)" class="bottom-action-container quickview-button hover-option" track="{
  9. type: 'product-info',
  10. name: moduleType,
  11. breadcrumbs: result.breadcrumbs || breadcrumbs
  12. }">
  13. <i class="icon-zoom"></i>
  14. </a>
  15. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement