build(deps): bump selenium from 4.14.0 to 4.15.0 (#297)

Bumps [selenium](https://github.com/SeleniumHQ/Selenium) from 4.14.0 to
4.15.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/SeleniumHQ/Selenium/releases">selenium's
releases</a>.</em></p>
<blockquote>
<h2>Selenium 4.15</h2>
<h3>Changelog</h3>
<p>For each component's detailed changelog, please check:</p>
<ul>
<li><a
href="https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES">Ruby</a></li>
<li><a
href="https://github.com/SeleniumHQ/selenium/blob/trunk/py/CHANGES">Python</a></li>
<li><a
href="https://github.com/SeleniumHQ/selenium/blob/trunk/javascript/node/selenium-webdriver/CHANGES.md">JavaScript</a></li>
<li><a
href="https://github.com/SeleniumHQ/selenium/blob/trunk/java/CHANGELOG">Java</a></li>
<li><a
href="https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/CHANGELOG">DotNet</a></li>
<li><a
href="https://github.com/SeleniumHQ/selenium/blob/trunk/cpp/iedriverserver/CHANGELOG">IEDriverServer</a></li>
</ul>
<h3>Commits in this release</h3>
<!-- raw HTML omitted -->
<ul>
<li><a
href="f4334adc5c"><code>f4334adc5c</code></a>
- update versions for nightly releases :: titusfortner</li>
<li><a
href="ee8c814618"><code>ee8c814618</code></a>
- [rb] update gemfile with nightly version :: titusfortner</li>
<li><a
href="c3fc944d5e"><code>c3fc944d5e</code></a>
- fix change logs :: titusfortner</li>
<li><a
href="163ba66495"><code>163ba66495</code></a>
- [java] remove jdk from list of jars to publish now that it is a core
dependency :: titusfortner</li>
<li><a
href="3dbb37c6ff"><code>3dbb37c6ff</code></a>
- [js] update package lock version :: titusfortner</li>
<li><a
href="2ef70312e8"><code>2ef70312e8</code></a>
- [bidi][java] Add set viewport command :: Puja Jagani</li>
<li><a
href="f02e917ec6"><code>f02e917ec6</code></a>
- [bidi][java] Add browsing context activate command :: Puja Jagani</li>
<li><a
href="2940a0d24d"><code>2940a0d24d</code></a>
- [rust] Organize use (imports) in all modules (no logical changes) ::
Boni Garcia</li>
<li><a
href="889a636954"><code>889a636954</code></a>
- [ci] Slim the Java build even further (<a
href="https://redirect.github.com/SeleniumHQ/Selenium/issues/12913">#12913</a>)
:: Simon Stewart</li>
<li><a
href="abeb86612d"><code>abeb86612d</code></a>
- [java] Use Java Map instead of Guava Immutable Map in BiDi package ::
Puja Jagani</li>
<li><a
href="cdd75fcda8"><code>cdd75fcda8</code></a>
- [java] Use Java Map instead of Guava Immutable Map in Chrome package
:: Puja Jagani</li>
<li><a
href="ca15a17230"><code>ca15a17230</code></a>
- [java] Use Java Map instead of Guava Immutable Map in Chromium package
:: Puja Jagani</li>
<li><a
href="a92711b6a7"><code>a92711b6a7</code></a>
- Update mirror info (Tue Oct 10 12:06:42 UTC 2023) :: Selenium CI
Bot</li>
<li><a
href="819955bd77"><code>819955bd77</code></a>
- [iedriver] update versions to 4.14.0.0 :: titusfortner</li>
<li><a
href="f6d04c8a67"><code>f6d04c8a67</code></a>
- [ci + dotnet] Slim down the .Net CI build since most is already
checked by the RBE CI build (<a
href="https://redirect.github.com/SeleniumHQ/Selenium/issues/12916">#12916</a>)
:: Simon Stewart</li>
<li><a
href="06bb4e9f33"><code>06bb4e9f33</code></a>
- [java] remove lift related packages and dependencies (<a
href="https://redirect.github.com/SeleniumHQ/Selenium/issues/12917">#12917</a>)
:: joerg1985</li>
<li><a
href="1f8b8d9a80"><code>1f8b8d9a80</code></a>
- Update mirror info (Wed Oct 11 00:15:25 UTC 2023) :: Selenium CI
Bot</li>
<li><a
href="bbcfc9aead"><code>bbcfc9aead</code></a>
- [java][bidi] Add validation for browsing context id (<a
href="https://redirect.github.com/SeleniumHQ/Selenium/issues/12920">#12920</a>)
:: Manuel Blanco</li>
<li><a
href="225074be5d"><code>225074be5d</code></a>
- [java] Fix default values for print options page size :: Puja
Jagani</li>
<li><a
href="78ee4c01a7"><code>78ee4c01a7</code></a>
- [java] Update page size test :: Puja Jagani</li>
<li><a
href="1c89e31e7a"><code>1c89e31e7a</code></a>
- [ci + dotnet]: We can run tests and packaging in parallel :: Simon
Mavi Stewart</li>
<li><a
href="a717e3feba"><code>a717e3feba</code></a>
- Replace calls to console.log with managed loggers (<a
href="https://redirect.github.com/SeleniumHQ/Selenium/issues/12909">#12909</a>)
:: Daniel Rozenberg</li>
<li><a
href="966cb9f9a1"><code>966cb9f9a1</code></a>
- [rust] Include mirror arguments to change default online repository
URLs (<a
href="https://redirect.github.com/SeleniumHQ/Selenium/issues/11687">#11687</a>)
:: Boni García</li>
<li><a
href="6c6b5622b9"><code>6c6b5622b9</code></a>
- [java][bidi] Add print command :: Puja Jagani</li>
<li><a
href="8f73722712"><code>8f73722712</code></a>
- [java] Update Netty to 4.1.100.Final :: Simon Mavi Stewart</li>
<li><a
href="36108e7244"><code>36108e7244</code></a>
- Update mirror info (Wed Oct 11 12:07:07 UTC 2023) :: Selenium CI
Bot</li>
<li><a
href="7ddfad6ad7"><code>7ddfad6ad7</code></a>
- [java] use the java process builder to run external processes (<a
href="https://redirect.github.com/SeleniumHQ/Selenium/issues/12898">#12898</a>)
:: joerg1985</li>
<li><a
href="d9f0010403"><code>d9f0010403</code></a>
- [py]: Return a <code>pathlib.Path</code> when
<code>SE_MANAGER_PATH</code> is set. closes <a
href="https://redirect.github.com/SeleniumHQ/Selenium/issues/12929">#12929</a>
:: symonk</li>
<li><a
href="1e6e5ec2fa"><code>1e6e5ec2fa</code></a>
- [java] allow a custom timeout when shutting down a process :: Jörg
Sautter</li>
<li><a
href="27c7fdbef8"><code>27c7fdbef8</code></a>
- [java] replaced usage of Guavas ByteStreams with native Java 11
methods :: Jörg Sautter</li>
<li><a
href="dd00a0ab56"><code>dd00a0ab56</code></a>
- [java] allow setting version in the Http Client Config (<a
href="https://redirect.github.com/SeleniumHQ/Selenium/issues/12919">#12919</a>)
:: Titus Fortner</li>
<li><a
href="0a3d590f7a"><code>0a3d590f7a</code></a>
- [java] Remove unused imports :: Puja Jagani</li>
<li><a
href="7cc250fa59"><code>7cc250fa59</code></a>
- [Bugfix] Refactored code in the WebDriverException class: (<a
href="https://redirect.github.com/SeleniumHQ/Selenium/issues/12933">#12933</a>)
:: Manuel Blanco</li>
<li><a
href="6217edce1e"><code>6217edce1e</code></a>
- Update mirror info (Thu Oct 12 12:07:12 UTC 2023) :: Selenium CI
Bot</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="1d14b5521b"><code>1d14b55</code></a>
update versions for 4.15 release</li>
<li><a
href="f74e0dd321"><code>f74e0dd</code></a>
[js] update change log</li>
<li><a
href="63baf0b90a"><code>63baf0b</code></a>
[bidi] [java] Rework tests to run in different browsers</li>
<li><a
href="5402d1a89b"><code>5402d1a</code></a>
[bidi] [js] Add browsing context commands and events (<a
href="https://redirect.github.com/SeleniumHQ/Selenium/issues/13078">#13078</a>)</li>
<li><a
href="e3e8de97c0"><code>e3e8de9</code></a>
[js] Fix typo in text</li>
<li><a
href="81efbf2b7b"><code>81efbf2</code></a>
[js] Fix typo in test</li>
<li><a
href="014ead4f02"><code>014ead4</code></a>
script to automate version updates</li>
<li><a
href="c9816fbafb"><code>c9816fb</code></a>
update selenium manager binaries</li>
<li><a
href="c87de7beff"><code>c87de7b</code></a>
add script for updating selenium manager</li>
<li><a
href="d847116165"><code>d847116</code></a>
update change logs</li>
<li>Additional commits viewable in <a
href="https://github.com/SeleniumHQ/Selenium/compare/selenium-4.14.0...selenium-4.15.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=selenium&package-manager=pip&previous-version=4.14.0&new-version=4.15.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>
This commit is contained in:
github-actions[bot] 2023-11-02 16:58:01 +01:00 committed by GitHub
commit 29467d714e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 6 deletions

8
poetry.lock generated
View File

@ -5701,13 +5701,13 @@ stats = ["scipy (>=1.7)", "statsmodels (>=0.12)"]
[[package]]
name = "selenium"
version = "4.14.0"
version = "4.15.0"
description = ""
optional = false
python-versions = ">=3.8"
files = [
{file = "selenium-4.14.0-py3-none-any.whl", hash = "sha256:be9824a9354a7fe288e3fad9ceb6a9c65ddc7c44545d23ad0ebf4ce202b19893"},
{file = "selenium-4.14.0.tar.gz", hash = "sha256:0d14b0d9842366f38fb5f8f842cf7c042bcfa062affc6a0a86e4d634bdd0fe54"},
{file = "selenium-4.15.0-py3-none-any.whl", hash = "sha256:c566dd3b20765dad64e65edca19a52f421f601ed1739f87dd4c5c07aae5dae6f"},
{file = "selenium-4.15.0.tar.gz", hash = "sha256:1d339cb4577a2c617122ebe6342b7e9bca4cb4588a2d322c898f5df29c91df02"},
]
[package.dependencies]
@ -7426,4 +7426,4 @@ web-server = ["dash", "dash-auth", "dash-bootstrap-components", "matplotlib", "s
[metadata]
lock-version = "2.0"
python-versions = "^3.11"
content-hash = "dfb1bd40b554a5522a9db4fbd991a7038b4ed6479ad1e1fcbf40dfe7168a3e3d"
content-hash = "a6ba453d93d19326e80413983acc11f3307363c14e863c18cd0eace421de70b0"

View File

@ -67,7 +67,7 @@ python = "^3.11"
python-dotenv = "^1.0.0"
rapidfuzz = "^3.5.1"
seaborn = "^0.13.0"
selenium = "^4.12.0"
selenium = "^4.15.0"
spacy = "^3.6.1"
spacy-sentiws = "^3.0.0"
torch = {version = "*", source = "torch-cpu"}

View File

@ -1,4 +1,5 @@
"""Unternehmensregister Scraping."""
# ruff: noqa: B023
import glob
import multiprocessing
import os
@ -105,7 +106,9 @@ def scrape(query: str, download_dir: list[str]) -> None:
driver.find_element(By.CLASS_NAME, "download-wrapper").click()
try:
wait.until(wait_for_download_condition(download_path, num_files))
wait.until(
lambda: wait_for_download_condition(download_path, num_files) # type: ignore
)
file_name = "".join(e for e in company_name if e.isalnum()) + ".xml"
rename_latest_file(
download_path,