diff --git a/CHANGELOG.MD b/CHANGELOG.MD index aae54ff..d6f9ded 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -1,3 +1,7 @@ +# Changelog -#### version 0.1.0 (08-03-2020) -Created simple gitlab-ci with remote standalone-chrome and one test for it. +## 0.1.1 + - fixed: throw chrome Options() to Remote webdriver + +## 0.1.0 + - created simple gitlab-ci testing project with selenium, remote standalone-chrome and one selenium test in ci job. diff --git a/__init__.py b/__init__.py index eef399a..eff2319 100644 --- a/__init__.py +++ b/__init__.py @@ -20,4 +20,4 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -__version__ = '0.1.0' +__version__ = '0.1.1' diff --git a/conftest.py b/conftest.py index 6da2a6a..2d79e23 100644 --- a/conftest.py +++ b/conftest.py @@ -22,11 +22,13 @@ import pytest from selenium import webdriver +from selenium.webdriver.chrome.options import Options from selenium.webdriver.remote.webdriver import WebDriver @pytest.fixture(scope='function') def browser() -> WebDriver: driver = webdriver.Remote( - command_executor='http://selenium__standalone-chrome:4444/wd/hub') + command_executor='http://selenium__standalone-chrome:4444/wd/hub', + options=Options()) return driver