Gocept.selenium

Latest version: v7.1

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

Scan your dependencies

Page 4 of 12

2.4.1

------------------

- Write junit annotations when a screenshot was taken for assertions beside
``assertScreenshot()``. (13678)

2.4.0

------------------

- Added ``getCssCount`` and ``getXpathCount``, so tests can get a baseline
before an action.

- Fix ``getSelectedValue`` for webdriver.

2.3.0

------------------

- Webdriver: ``waitFor`` will now retry the assertion when
``StaleElementReferenceException`` was raised, instead of yielding the error.
(This could happen for assertions like ``waitForAttribute``, which would
retrieve the DOM node and *then* ask for it's attribute. Thus the node can
be changed in-between, which leads to the error.)

2.2.2

------------------

- Improve environment variable handling implementation.

2.2.1

------------------

- Fix handling firefox profile in remote=false mode.

2.2.0

------------------

- Allow launching the browser directly when using Webdriver
(set ``GOCEPT_WEBDRIVER_REMOTE=False`` and the browser name accordingly).

- Add optional ``movement`` parameter to ``dragAndDropToObject`` that moves the
mouse a little before releasing the button, so one gets more realistic
behaviour when needed (Webdriver only, RC does not seem to have this issue).

- Add ``js`` and ``jquery`` locators (Webdriver only).

Page 4 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.