Merge pull request #2961 from seleniumbase/update-options-and-dependencies

Update options and dependencies
This commit is contained in:
Michael Mintz 2024-07-25 11:25:44 -04:00 committed by GitHub
commit 4007c95f53
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 6 additions and 4 deletions

View File

@ -1,7 +1,7 @@
# mkdocs dependencies for generating the seleniumbase.io website
# Minimum Python version: 3.8 (for generating docs only)
regex>=2024.5.15
regex>=2024.7.24
pymdown-extensions>=10.8.1
pipdeptree>=2.23.1
python-dateutil>=2.8.2

View File

@ -46,7 +46,7 @@ pluggy==1.2.0;python_version<"3.8"
pluggy==1.5.0;python_version>="3.8"
py==1.11.0
pytest==7.4.4;python_version<"3.8"
pytest==8.3.1;python_version>="3.8"
pytest==8.3.2;python_version>="3.8"
pytest-html==2.0.1
pytest-metadata==3.0.0;python_version<"3.8"
pytest-metadata==3.1.1;python_version>="3.8"

View File

@ -1,2 +1,2 @@
# seleniumbase package
__version__ = "4.29.0"
__version__ = "4.29.1"

View File

@ -1659,6 +1659,7 @@ def _set_chrome_options(
if user_agent:
chrome_options.add_argument("--user-agent=%s" % user_agent)
chrome_options.add_argument("--safebrowsing-disable-download-protection")
chrome_options.add_argument("--disable-search-engine-choice-screen")
chrome_options.add_argument("--disable-browser-side-navigation")
chrome_options.add_argument("--disable-save-password-bubble")
chrome_options.add_argument("--disable-single-click-autofill")
@ -3221,6 +3222,7 @@ def get_local_driver(
"--disable-autofill-keyboard-accessory-view[8]"
)
edge_options.add_argument("--safebrowsing-disable-download-protection")
edge_options.add_argument("--disable-search-engine-choice-screen")
edge_options.add_argument("--disable-browser-side-navigation")
edge_options.add_argument("--disable-translate")
if not enable_ws:

View File

@ -194,7 +194,7 @@ setup(
'pluggy==1.5.0;python_version>="3.8"',
"py==1.11.0", # Needed by pytest-html
'pytest==7.4.4;python_version<"3.8"',
'pytest==8.3.1;python_version>="3.8"',
'pytest==8.3.2;python_version>="3.8"',
"pytest-html==2.0.1", # Newer ones had issues
'pytest-metadata==3.0.0;python_version<"3.8"',
'pytest-metadata==3.1.1;python_version>="3.8"',