您好,登錄后才能下訂單哦!
There is sth wrong with input on my ubuntu. So the first blog would be written in english about what i am doing during this weekend. i study python for a while about algorith and network and now find some small project for practice. One of pratice is to log on website automatically. Splinter is an interesting item which would cover web communication and testing. Following link is an implementation on how to log on 12306 to buy ticket presented by youerning. http://youerning.blog.51cto.com/10513771/1719159
I follow its steps and find these API are provided in selenium, one of most popular web automation test. You will know well about its API if you track to its implementation. Of course you need to understand the code and has willness and time to learn.
All source code list as following:
You are free to access its github for more info.splinter
splinter: usr/local/lib/python2.7/dist-packages/splinter
selenium: usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote
.
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。