def click_check_payment_i_confirm_my_order_button(self):
     check_payment_confirm_my_order = \
         Button(self.driver,
                xpath="//*[contains(text(), 'I confirm my order')]")
     check_payment_confirm_my_order.click()
示例#2
0
 def click_send_to_a_friend_send_button(self):
     send_to_a_friend_send = Button(self.driver, div_id="sendEmail")
     send_to_a_friend_send.click()
示例#3
0
 def click_send_to_a_friend_x_button(self):
     send_to_a_friend_x = Button(self.driver, xpath="//*[@title='Close']")
     send_to_a_friend_x.click()
 def click_checkout_payment_pay_by_check_button(self):
     checkout_payment_pay_by_check = \
         Button(self.driver,
                xpath="//*[contains(text(), 'Pay by check')]")
     checkout_payment_pay_by_check.click()
 def click_write_a_review_cancel_button(self):
     write_a_review_cancel = \
         Button(self.driver,
                xpath="//*[@id='new_comment_form_footer']/p[2]/a")
     write_a_review_cancel.click()
示例#6
0
 def click_dresses_view_grid_button(self):
     dresses_view_grid = Button(self.driver, xpath="//*[@id='grid']/a/i")
     dresses_view_grid.click()
 def click_checkout_shipping_proceed_to_checkout_button(self):
     checkout_shipping_proceed_to_checkout = \
         Button(self.driver, xpath="//*[@id='form']/p/button/span")
     checkout_shipping_proceed_to_checkout.click()
示例#8
0
 def click_product_details_page_color_black_button(self):
     product_details_page_color_black = Button(self.driver,
                                               div_id="color_11")
     product_details_page_color_black.click()
示例#9
0
 def click_product_details_page_add_to_cart_button(self):
     product_details_page_add_to_cart = Button(self.driver,
                                               div_name="Submit")
     product_details_page_add_to_cart.click()
示例#10
0
 def click_quantity_plus_button(self):
     quantity_plus = \
         Button(self.driver,
                xpath="//*[@id='quantity_wanted_p']/a[2]/span/i")
     quantity_plus.click()
示例#11
0
 def click_product_details_page_color_white_button(self):
     product_details_color_white = Button(self.driver, div_id="color_8")
     product_details_color_white.click()
示例#12
0
 def click_product_details_page_pinterest_button(self):
     product_details_page_pinterest = \
         Button(self.driver,
                xpath="//*[@id='center_column']/div/div/div[3]/p[7]/button[4]")
     product_details_page_pinterest.click()
示例#13
0
 def click_product_details_page_google_plus_button(self):
     product_details_page_google_plus = \
         Button(self.driver,
                xpath="//*[@id='center_column']/div/div/div[3]/p[7]/button[3]")
     product_details_page_google_plus.click()
示例#14
0
 def click_product_details_page_facebook_button(self):
     product_details_page_facebook = \
         Button(self.driver,
                xpath="//*[@id='center_column']/div/div/div[3]/p[7]/button[2]")
     product_details_page_facebook.click()
示例#15
0
 def click_dresses_all_specials_button(self):
     dresses_all_specials = \
         Button(self.driver, xpath="//span[text()='All specials']")
     dresses_all_specials.click()
示例#16
0
 def click_product_details_page_add_to_wishlist_button(self):
     product_details_page_add_to_wishlist = Button(self.driver,
                                                   div_id="wishlist_button")
     product_details_page_add_to_wishlist.click()
示例#17
0
 def click_dresses_discover_our_stores_button(self):
     dresses_discover_our_stores = \
         Button(self.driver,
                xpath="//span[text()='Discover our stores']")
     dresses_discover_our_stores.click()
 def click_order_history_and_details_button(self):
     order_history_and_details = \
         Button(self.driver,
                xpath="//span[text()='Order history and details']")
     order_history_and_details.click()
示例#19
0
 def click_dresses_list_grid_button(self):
     dresses_list_grid = Button(self.driver, xpath="//*[@id='list']/a/i")
     dresses_list_grid.click()
 def click_my_wishlists_button(self):
     my_wishlists = Button(self.driver,
                           xpath="//span[text()='My wishlists']")
     my_wishlists.click()
 def click_checkout_payment_pay_by_bank_wire_button(self):
     checkout_payment_pay_by_bank_wire = \
         Button(self.driver,
                xpath="//*[contains(text(), 'Pay by bank wire')]")
     checkout_payment_pay_by_bank_wire.click()
 def click_my_credit_slips_button(self):
     my_credit_slips = Button(self.driver,
                              xpath="//span[text()='My credit slips']")
     my_credit_slips.click()
 def click_write_a_review_send_button(self):
     write_a_review_send = Button(self.driver,
                                  xpath="//*[@id='submitNewMessage']")
     write_a_review_send.click()
 def click_my_addresses_button(self):
     my_addresses = Button(self.driver,
                           xpath="//span[text()='My addresses']")
     my_addresses.click()
 def click_write_a_review_x_button(self):
     write_a_review_x = \
         Button(self.driver,
                xpath="//*[@id='product']/div[2]/div/div/a")
     write_a_review_x.click()
 def click_my_personal_information_button(self):
     my_personal_information = \
         Button(self.driver,
                xpath="//span[text()='My personal information']")
     my_personal_information.click()
示例#27
0
 def click_send_to_a_friend_cancel_button(self):
     send_to_a_friend_cancel = \
         Button(self.driver,
                xpath="//*[@id='send_friend_form_content']/p/a")
     send_to_a_friend_cancel.click()
示例#28
0
 def click_dresses_nav_menu_button(self):
     dresses_nav_menu = \
         Button(self.driver,
                xpath="//*[@id='block_top_menu']/ul/li[2]/a")
     dresses_nav_menu.click()
 def click_bank_wire_i_confirm_my_order_button(self):
     bank_wire_confirm_my_order = \
         Button(self.driver,
                xpath="//*[contains(text(), 'I confirm my order')]")
     bank_wire_confirm_my_order.click()
 def click_contact_us_send_button(self):
     contact_us = Button(self.driver, div_id="submitMessage")
     contact_us.click()