Iakiv Kramarenko

Results 153 comments of Iakiv Kramarenko

Added: ``` from selene.api import browser, s, command s('locator').perform(command.js.set_style_property('right', '100500%')) ```

@dskard what is wrong with `The first example reads "Element should be not enabled".` ? I can't say it's perfectly smooth, but isn't it a valid english phrase? Maybe not...

@dskard > I was wondering why the should_not function was being deprecated and if an argument could be made to keep it around? Please share your thoughts on my explanation...

Nevertheless, you can easily create your own module with conditions, name it not_.py, put there all correspongin aliases and feel free to write something like: ``` element.should(not_.be_visible) element.should(not_.have_text('foo')) ``` or...

@dskard https://www.quora.com/Is-it-correct-to-say-It-should-be-not-Or-only-It-shouldnt-be-is-correct So... "should be not" is kind of "informally acceptable" :D But I am still looking for your feedback, maybe you can convince me to keep `should_not` version

@dskard, thank you for your reply! I was really worried about this case. Let's stick then to one should method that accept a condition, that we can negate in one...

@MatuMikey I am not sure "most popular libraries" should be used as authority to follow:) I believe we should filter "popularity" by common sense :) Probably the majority of Selene...

locate() is exelent... works nice - with both... - element.locate() - and - collection.locate() while `raw` or `__raw__` would work with all three: - element.raw - collection.raw - browser.raw -...