
WebUi学习
Only_whitecat
脚本写的好,下班下的早
展开
-
Python+selenium学习
maximize_window()最大化浏览器和刷新当前页面refresh()from selenium import webdriverdriver = webdriver.Firefox()driver.get("https://www.baidu.com")driver.maximize_window()#最大化浏览器driver.refresh()print(u'当前title为:',driver.title)driver.quit()...原创 2021-10-29 21:29:35 · 193 阅读 · 0 评论 -
Django独有报错
You called this URL via POST, but the URL doesn’t end in a slash and you have APPEND_SLASH set. Django can’t redirect to the slash URL while maintaining POST data. Change your form to point to 127.0.0.1:8009/login/ (note the trailing slash), or set APPEND_原创 2021-09-14 15:14:39 · 225 阅读 · 0 评论