def get_store_invoicing(self):
"""获取规格商品"""
table_no = self.driver.find_elements(cpl.table_no_loc)
temp = [e.text for e in table_no]
for list in temp:
table_number_loc =('xpath','//[(@text="{}")]'.format(list))
aa=self.wait_element_is_visible(table_number_loc,'点击每一个台位号').click_element()
self.wait_element_is_loaded(cpl.pay_state_loc,'获取订单信息').get_element()
# else:
# self.wait_element_is_visible(cpl.order_pay_loc,'点击结账').click_element()