示例#1
0
 def click_dresses_information_about_us_link(self):
     dresses_information_about_us = \
         Link(self.driver, xpath="//*[@title='About us']")
     dresses_information_about_us.click()
 def click_write_a_review_link(self):
     write_a_review = \
         Link(self.driver,
              xpath="//*[@id='product_comments_block_extra']/ul/li/a")
     write_a_review.click()
示例#3
0
 def click_send_to_a_friend_link(self):
     send_to_a_friend = Link(self.driver, div_id="send_friend_button")
     send_to_a_friend.click()
 def click_my_account_my_orders_link(self):
     my_account_my_orders = Link(self.driver,
                                 xpath="//*[@title='My orders']")
     my_account_my_orders.click()
 def click_my_account_my_addresses_link(self):
     my_account_my_addresses = Link(self.driver,
                                    xpath="//*[@title='My addresses']")
     my_account_my_addresses.click()
 def click_information_contact_us_link(self):
     information_contact_us = Link(self.driver,
                                   xpath="//*[@title='Contact us']")
     information_contact_us.click()
 def click_information_about_us_link(self):
     information_about_us = Link(self.driver,
                                 xpath="//*[@title='About us']")
     information_about_us.click()
 def click_checkout_shipping_read_the_terms_of_service_link(self):
     checkout_shipping_read_the_terms_of_service = \
         Link(self.driver,
              xpath="//*[contains(text(), 'Read the Terms of Service')]")
     checkout_shipping_read_the_terms_of_service.click()
 def click_my_account_my_personal_info_link(self):
     my_account_my_personal_info = \
         Link(self.driver,
              xpath="//*[@title='Manage my personal information']")
     my_account_my_personal_info.click()
示例#10
0
 def click_dresses_summer_dresses_link(self):
     dresses_summer_dresses = \
         Link(self.driver,
              xpath="//*[@id='categories_block_left']/div/ul/li[3]/a")
     dresses_summer_dresses.click()
示例#11
0
 def click_printed_chiffon_dress_thumbnail(self):
     printed_chiffon_dress = \
         Link(self.driver, xpath="//*[@title='Printed Chiffon Dress'][1]")
     printed_chiffon_dress.click()
示例#12
0
 def click_subcategories_summer_dresses_thumbnail(self):
     subcategories_summer_dresses = \
         Link(self.driver,
              xpath="//*[@id='subcategories']/ul/li[3]/div[1]/a/img")
     subcategories_summer_dresses.click()
示例#13
0
 def click_dresses_information_our_stores_link(self):
     dresses_information_our_stores = \
         Link(self.driver, xpath="//*[@title='Our stores']")
     dresses_information_our_stores.click()
示例#14
0
 def click_dresses_information_secure_payment_link(self):
     dresses_information_secure_payment = \
         Link(self.driver, xpath="//*[@title='Secure payment']")
     dresses_information_secure_payment.click()
示例#15
0
 def click_information_best_sellers_link(self):
     information_best_sellers = Link(self.driver,
                                     xpath="//*[@title='Best sellers']")
     information_best_sellers.click()
示例#16
0
 def click_follow_us_facebook_link(self):
     follow_us_facebook = Link(self.driver, xpath="//*[span='Facebook']")
     follow_us_facebook.click()
示例#17
0
 def click_information_our_stores_link(self):
     information_our_stories = Link(self.driver,
                                    xpath="//*[@title='Our stores']")
     information_our_stories.click()
示例#18
0
 def click_follow_us_twitter_link(self):
     follow_us_twitter = Link(self.driver, xpath="//*[span='Twitter']")
     follow_us_twitter.click()
示例#19
0
 def click_information_terms_and_conditions_of_use_link(self):
     information_terms_and_conditions_of_use = \
         Link(self.driver,
              xpath="//*[@title='Terms and conditions of use']")
     information_terms_and_conditions_of_use.click()
示例#20
0
 def click_follow_us_youtube_link(self):
     follow_us_youtube = Link(self.driver, xpath="//*[span='Youtube']")
     follow_us_youtube.click()
示例#21
0
 def click_information_sitemap_link(self):
     information_sitemap = Link(self.driver, xpath="//*[@title='Sitemap']")
     information_sitemap.click()
示例#22
0
 def click_follow_us_google_plus_link(self):
     follow_us_google_plus = Link(self.driver,
                                  xpath="//*[span='Google Plus']")
     follow_us_google_plus.click()
示例#23
0
 def click_my_account_my_credit_slips_link(self):
     my_account_my_credit_slips = \
         Link(self.driver, xpath="//*[@title='My credit slips']")
     my_account_my_credit_slips.click()
示例#24
0
 def click_categories_women_link(self):
     categories_women = \
         Link(self.driver,
              xpath="//*[@id='footer']/div/section[2]/div/div/ul/li/a")
     categories_women.click()
 def click_checkout_payment_continue_shopping_link(self):
     checkout_payment_continue_shopping = \
         Link(self.driver, xpath="//*[@title='Previous']")
     checkout_payment_continue_shopping.click()
示例#26
0
 def click_information_specials_link(self):
     information_specials = Link(self.driver,
                                 xpath="//*[@title='Specials']")
     information_specials.click()
 def click_stars_rating(self):
     stars_rating = Link(self.driver, xpath="//*[@title='4']")
     stars_rating.click()
示例#28
0
 def click_information_new_products_link(self):
     information_new_products = Link(self.driver,
                                     xpath="//*[@title='New products']")
     information_new_products.click()
 def click_bank_wire_other_payment_methods_link(self):
     bank_wire_other_payment_methods = \
         Link(self.driver, xpath="// *[ @ id = 'cart_navigation'] / a")
     bank_wire_other_payment_methods.click()
示例#30
0
 def click_dresses_information_legal_notice_link(self):
     dresses_information_legal_notice = \
         Link(self.driver, xpath="//*[@title='Legal Notice']")
     dresses_information_legal_notice.click()