Permalink
Browse files

fix locator to ignore hidden reviews

  • Loading branch information...
1 parent 415b8a2 commit dfc1f37b36e8545962d66e06fe6baf9a81163baf @cvan cvan committed Mar 21, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 pages/desktop/details.py
View
@@ -57,7 +57,7 @@ class Details(Base):
_support_link_locator = (By.CSS_SELECTOR, "a.support")
_review_details_locator = (By.CSS_SELECTOR, ".review .description")
_all_reviews_link_locator = (By.CSS_SELECTOR, "#reviews a.more-info")
- _review_locator = (By.CSS_SELECTOR, "div.review:not(.reply)")
+ _review_locator = (By.CSS_SELECTOR, "#reviews > div.review:not(.reply)")
_info_link_locator = (By.CSS_SELECTOR, "li > a.scrollto")
_rating_counter_locator = (By.CSS_SELECTOR, ".grouped_ratings .num_ratings")

0 comments on commit dfc1f37

Please sign in to comment.