Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Web automation test splinter and selenium usage

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

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

.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report