new_topic_page.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:WK0601 作者: ArthurWng 项目源码 文件源码
def finish_new_topic(self):


            free_topic_btn_loc = (By.XPATH, r'/html/body/div[1]/div[2]/dl/dt/span[1]') # '????'????
            encrypt_topic_btn_loc = (By.XPATH, r'/html/body/div[1]/div[2]/dl/dt/span[2]') # '????'????
            charge_topic_btn_loc = (By.XPATH, r'/html/body/div[1]/div[2]/dl/dt/span[3]') # '????'????

            topic_present_page_switch_btn_loc = (By.XPATH, r'/html/body/div[1]/div[2]/dl/dd/div[1]/div[2]/span[1]/span') # '?????'??

            encrypt_input_box_loc = (By.XPATH, r'/html/body/div[1]/div[2]/dl/dd/div[2]/div/input') # ????'?????'??

            charge_input_box_loc = (By.XPATH, r'/html/body/div[1]/div[2]/dl/dd/div[3]/div/span[2]/input') # ????'?????'??

            new_topic_finish_btn_loc = (By.XPATH, r'/html/body/div[1]/div[2]/div/a[2]') # ????'??'????

            new_topic_previous_btn_loc = (By.XPATH, r'/html/body/div[1]/div[2]/div/a[1]') # ????'???'????


            self.loc_element(*free_topic_btn_loc).click() # ??'????'??
            self.loc_element(*topic_present_page_switch_btn_loc).click() # ??'?????'
            self.loc_element(*new_topic_finish_btn_loc).click() # ??'??'??
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号