9

I found so many selenium wrappers for python... It's very hard to choose...

But I know what I want - something like Selenide or Capybara. Are there any alternatives in Python world?

The following "features" are needed:

  • jQuery-style selectors, e.g.: showPasswordChkbox = $(".show-pasword")
  • should style asserts: showPasswordChkbox.shouldBe(checked)
  • Ajax support: each "should" always waits for its Condition to happen (with aibility to set timeout directly if needed), e.g.: showPasswordChkbox.waitUntil(checked, 5000)
  • straightforward and easy way to implement own conditions that can be used in shoulds
  • Autostart browser
  • clear error messages: what element was looking, of what selector, why fail? actual value?
  • screenshots per each failed "should" with link to screenshot in produced error message
  • [desired] screenshots per each should with ability to set context and then get all "screenshots per context"

migrated from stackoverflow.com Apr 17 '14 at 21:54

This question came from our site for professional and enthusiast programmers.

2

Elementium has a lot of what you are looking for:

https://github.com/actmd/elementium

  • Big thanks. Finally found it by myself too. This is exactly what I was asking for:) – yashaka Mar 4 '15 at 18:26
1

Splinter provides a high-level API to automate browser interaction.

0

I have started porting selenide to python: https://github.com/yashaka/selene

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.