开发者

Does a collection of selenium 2.0 extensions exist?

开发者 https://www.devze.com 2023-04-07 03:35 出处:网络
I have recently started a automated testing project using selenium 2.0.The api feels very low level and I\'m looking to refactor some of the common stuff like form handling before writing too much rep

I have recently started a automated testing project using selenium 2.0. The api feels very low level and I'm looking to refactor some of the common stuff like form handling before writing too much repeating code.

I have searched a bit trying to find some conributed classes collection as I assume I'm not the first wanting to abstract some of the details of the driver away when writing the tests. I can't find any, however.

Where can I find reusable code for working with selenium 2.0? I'm using Java but anything goes for inspiration.

Or would you recommend writing the utilit开发者_开发百科y classes from scratch or using the raw api?


I wrote an article about Selenium extensions in C#. It's only a few functions but you might find something interesting.

I agree that Selenium can lend itself to a lot of repetition and it would be interesting of the developers would include some higher level classes.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号