Selene

Latest version: v1.0.2

Safety actively analyzes 638437 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 13 of 16

1.0.0a15

- new features:
- added `by.id`
- now `browser.element` can parse xpath in string selector passed as parameter

1.0.0a14

- removed
- ConditionMismatchException.message (use `str(exOfConditionMismatchExceptionType)` for the same purpose)
- defaults changes:
- changed default `browser_name` to `BrowserName.CHROME`
- added
- `have.size_greater_than_or_equal` alias for `have.size_at_least`
- `element.type` alias for `element.send_keys`
- `be`, `by`, and `have` imports to `selene` module

1.0.0a11

- naming changes:
- browser.visit() renamed to browser.open_url()
- config.maximize_windows -> config.start_maximized
- config.screenshot_folder -> config.reports_folder
- improvements
- screenshot link is now clickable in console output
- bug fixes:
- [124](https://github.com/yashaka/selene/issues/124): If by.xpath contains utf8 symbols and not condition get UnicodeEncodeError: 'ascii'
- planned to remove in next version:
- selene.tools

1.0.0a10

- [103](https://github.com/yashaka/selene/issues/103): NEW API entry points
- now all main selene API is available via single wildcard import: `from selene.api import *`
- you can use the "old direct imports way" but at least until 1.0 release "the new way" will result in more stable API. We may move modules between packages, but your new way imports remain stable. See more explantains in issue description 103   
- read Quick Start section in README.MD for more details.
- **UPCOMING BREAKING CHANGES**:
- deprecated selene.config.app_host, use `selene.config.base_url` instead
- selene.config.app_host still works but will be removed in next versions
- [101](https://github.com/yashaka/selene/issues/101): deprecated selene.tools, use selene.browser and selene.support.jquery_style_selectors instead or just the "new way imports from #103"
- new features
- [51](https://github.com/yashaka/selene/issues/51): added ability to configure selene via passing/setting system variables

1.0.0a9

- skipped:)

1.0.0a8

- new features added
- 76: config.maximize_window (set to True by default)
- 68: config.hold_browser_open (set to False by default)
- 78: config.desired_capabilities (set to None by default)
- 92: selene.tools.latest_screenshot() (returns NoneObject if no screenshot have been added yet)
- 85: SeleneElementcontext_click()
- 77: SeleneElementscroll_to() (not needed in all cases, but may be usefull in some browsers sometimes...)
- 75: support for phantomjs browser
- conditions: url, url_containing, title_containing
- refactored aliases implementation from selene.support.conditions.have
- now they are implemented as method definitions giving better hints during autocomplete
- project infrastracture
- 84: improved travis job: added archiving build artifacts (test results)

Page 13 of 16

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.