2021年5月17日
摘要: origin already exists: https://www.jianshu.com/p/3380ec281729 cdgit initgit statusgit add xx(被管理文件)git add .git commit -m 'comments'git loggit reflogg 阅读全文
posted @ 2021-05-17 13:04 zennpumpkin 阅读(55) 评论(0) 推荐(0) 编辑
2021年5月14日
摘要: https://www.jenkins.io/zh/doc/pipeline/tour/getting-started/ 阅读全文
posted @ 2021-05-14 20:54 zennpumpkin 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 1. download jenkins: https://www.jenkins.io/download/weekly/macos/ 2. cd to jenkins directory, run java -jar jenkins.war 3. open : http://localhost:80 阅读全文
posted @ 2021-05-14 17:13 zennpumpkin 阅读(60) 评论(0) 推荐(0) 编辑
摘要: search_box = self.driver.find_element(*AccountDashboard.search_box)self.driver.execute_script('arguments[0].scrollIntoView(true);', search_box)self.dr 阅读全文
posted @ 2021-05-14 13:36 zennpumpkin 阅读(398) 评论(0) 推荐(0) 编辑
2021年5月11日
摘要: https://www.jianshu.com/p/6f9579b05532 https://www.jianshu.com/p/b07d897cb10c @pytest.fixture(scope='') scope: session model class function 阅读全文
posted @ 2021-05-11 21:45 zennpumpkin 阅读(32) 评论(0) 推荐(0) 编辑
2021年5月10日
摘要: 1. download allure from git 2. config path (refer to: https://www.cnblogs.com/ycyzharry/p/10887922.html,https://www.jianshu.com/p/acb1f062a925) 3. val 阅读全文
posted @ 2021-05-10 15:54 zennpumpkin 阅读(56) 评论(0) 推荐(0) 编辑
2021年5月7日
摘要: self.driver.find_element(*RegisterAccount.service).click()self.driver.find_element(*RegisterAccount.service).send_keys(Keys.DOWN)self.driver.find_elem 阅读全文
posted @ 2021-05-07 21:46 zennpumpkin 阅读(80) 评论(0) 推荐(0) 编辑
摘要: framework: https://github.com/startrug/selenium-python-framework useful website: https://stackoverflow.com/ automation: https://www.cnblogs.com/fnng/p 阅读全文
posted @ 2021-05-07 21:08 zennpumpkin 阅读(32) 评论(0) 推荐(0) 编辑
摘要: Select提供了三种选择方法: select_by_index(index) ——通过选项的顺序,第一个为 0 select_by_value(value) ——通过value属性 select_by_visible_text(text) ——通过选项可见文本 同时,Select提供了四种方法取消 阅读全文
posted @ 2021-05-07 20:57 zennpumpkin 阅读(35) 评论(0) 推荐(0) 编辑
摘要: WebDriverWait(self.driver, 1000000).until( EC.element_to_be_clickable((By.XPATH, "//button[contains(text(),'OK')]"))).click() 阅读全文
posted @ 2021-05-07 20:54 zennpumpkin 阅读(47) 评论(1) 推荐(0) 编辑