Skip to content

Commit

Permalink
DOCS: prepare to release 2.0.0b17
Browse files Browse the repository at this point in the history
  • Loading branch information
yashaka committed Feb 15, 2023
1 parent b473c8e commit 86126c6
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 10 deletions.
17 changes: 16 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,22 @@

- TODO: config.location_strategy

## 2.0.0b14 (to be released on 06.10.2022)
## 2.0.0b17 (to be released on 16.11.2022)

### NEW

* `from selene import browser` ;)
* where browser == selene.support.shared.browser
* selenium ==4.4.3 -> >=4.4.3
* wdm ==3.8.5 -> >=3.8.5

## 2.0.0b16 (to be released on 16.11.2022)

### NEW

* wdm 3.8.3 -> 3.8.5 with fix for chromedriver for m1 macs

## 2.0.0b14 (released on 06.10.2022)

### NEW

Expand Down
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,7 @@ or using pip:
Simply...

```python
from selene.support.shared import browser
from selene import by, be, have
from selene import by, be, have, browser

browser.open('https://google.com/ncr')
browser.element(by.name('q')).should(be.blank)\
Expand All @@ -170,8 +169,7 @@ browser.all('.srg .g').should(have.size(10))\
OR with custom setup

```python
from selene.support.shared import browser
from selene import by, be, have
from selene import by, be, have, browser

browser.config.browser_name = 'firefox'
browser.config.base_url = 'https://google.com'
Expand All @@ -188,8 +186,8 @@ browser.all('.srg .g').should(have.size(10))\
OR more Selenide from java style:

```python
from selene.support.shared import config, browser
from selene import by, be, have
from selene import by, be, have, browser
from selene.support.shared import config
from selene.support.shared.jquery_style import s, ss


Expand Down Expand Up @@ -300,7 +298,8 @@ browser = Browser(Config(
You can simply use the browser and config instance predefined for you in `selene.support.shared` module:

```python
from selene.support.shared import browser, config
from selene import browser
from selene.support.shared import config

# ... do the same with browser.*
```
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "selene"
version = "2.0.0b16"
version = "2.0.0b17"
description = "User-oriented browser tests in Python (Selenide port)"
authors = ["Iakiv Kramarenko <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion selene/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,4 +225,4 @@
from selene.core.entity import Element, Collection # noqa


__version__ = '2.0.0b16'
__version__ = '2.0.0b17'

0 comments on commit 86126c6

Please sign in to comment.