Gocept.selenium

Latest version: v7.1

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

Scan your dependencies

Page 1 of 12

7.2

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

- Nothing changed yet.

7.1

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

- Fix deprecation warnings.

- Depend on ``webdriver-manager`` to get drivers automatically updated.

- Add support for ``edge`` headless mode and test it on GHA.

7.0

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

- Remove ``.screenshot.ZeroDimensionError``. Where it was previously raised now
the whole screenshot is saved.

6.1

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

- Fix links and typos in documentation.

- Fix tests running on ``Google Chrome``. (Issue 20)

- Google Chrome: Add temporary download directory support. It is
accessible as a ``pathlib.Path`` via ``self.layer['selenium_download_dir']``.

- Google Chrome: Add support for head mode.

- Add beta support for ``Microsoft Edge``. (It currently supports all features
besides headless mode and download directory support but is only tested using
the tests of ``gocept.selenium``. **Caution:** Edge does not seem to be
really stable on Mac OS, after some test runs it sometimes refuses to start
and requires to delete its preferences etc.)

- Add access to the selected browser and headless mode via a getitem call on
the layer.

6.0

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

Backwards incompatible changes
++++++++++++++++++++++++++++++

- Drop support for Python 2, 3.5 and 3.6.

- Remove ``requirements.txt``.

Features
++++++++

- Add support for Python 3.8 and 3.9.

- Firefox: Add a temporary download directory for PDF files. It is accessible
as a ``pathlib.Path`` via ``self.layer['selenium_download_dir']``.

5.2

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

- Delete localStorage on testTearDown of ``.webdriver.Layer``.

- Wait for elements the time defined as timeout instead of always 5 seconds.

Page 1 of 12

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.