Skip to content

Commit

Permalink
main: 26.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
cmin764 committed Aug 24, 2023
1 parent a32a17a commit 354b835
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
6 changes: 6 additions & 0 deletions docs/source/releasenotes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ Latest versions
`Released <https://pypi.org/project/rpaframework/#history>`_
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

26.0.3 - 24 Aug 2023
--------------------

- Library **RPA.Browser.Selenium**: Properly show webdriver errors in case the initial
default is not found in PATH.

26.0.2 - 24 Aug 2023
--------------------

Expand Down
2 changes: 1 addition & 1 deletion packages/main/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "rpaframework"
version = "26.0.2"
version = "26.0.3"
description = "A collection of tools and libraries for RPA"
authors = ["RPA Framework <[email protected]>"]
license = "Apache-2.0"
Expand Down
9 changes: 5 additions & 4 deletions packages/main/src/RPA/Browser/Selenium.py
Original file line number Diff line number Diff line change
Expand Up @@ -881,15 +881,16 @@ def __init__(
# `SeleniumManager` from early stage, otherwise it will be activated
# when the `WebDriver` class itself is instantiated with a null
# executable path.
if executable_path:
executable_path = shutil.which(executable_path)
if not executable_path:
resolved_path = (
shutil.which(executable_path) if executable_path else None
)
if not resolved_path:
raise WebDriverException(
f"Webdriver executable {executable_path!r} is not in PATH"
" (with disabled Selenium Manager)"
)

super().__init__(*args, executable_path=executable_path, **kwargs)
super().__init__(*args, executable_path=resolved_path, **kwargs)

# pylint: disable=no-self-argument
def __del__(this) -> None:
Expand Down

0 comments on commit 354b835

Please sign in to comment.