From 27d2e44c3f22c1acdbdd2fa3267e56e7691fb679 Mon Sep 17 00:00:00 2001 From: Michael Mintz Date: Tue, 30 May 2023 21:16:41 -0400 Subject: [PATCH 1/4] Update and sort the list of allowable URL prefixes --- seleniumbase/fixtures/base_case.py | 5 +++-- seleniumbase/fixtures/page_utils.py | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/seleniumbase/fixtures/base_case.py b/seleniumbase/fixtures/base_case.py index d2afa660870..5d809452ac2 100644 --- a/seleniumbase/fixtures/base_case.py +++ b/seleniumbase/fixtures/base_case.py @@ -12610,11 +12610,12 @@ def __looks_like_a_page_url(self, url): url.startswith("http:") or url.startswith("https:") or url.startswith("://") - or url.startswith("chrome:") or url.startswith("about:") + or url.startswith("blob:") + or url.startswith("chrome:") or url.startswith("data:") - or url.startswith("file:") or url.startswith("edge:") + or url.startswith("file:") or url.startswith("opera:") or url.startswith("view-source:") ): diff --git a/seleniumbase/fixtures/page_utils.py b/seleniumbase/fixtures/page_utils.py index 87bd9e09e3a..e40087b4d47 100644 --- a/seleniumbase/fixtures/page_utils.py +++ b/seleniumbase/fixtures/page_utils.py @@ -117,11 +117,12 @@ def is_valid_url(url): if ( regex.match(url) or url.startswith("about:") - or url.startswith("data:") + or url.startswith("blob:") or url.startswith("chrome:") + or url.startswith("data:") or url.startswith("edge:") - or url.startswith("opera:") or url.startswith("file:") + or url.startswith("opera:") ): return True else: From a6241ab7b4841de81bb5feea3c2767a3a287ae40 Mon Sep 17 00:00:00 2001 From: Michael Mintz Date: Tue, 30 May 2023 21:17:00 -0400 Subject: [PATCH 2/4] Refresh mkdocs dependencies --- mkdocs_build/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkdocs_build/requirements.txt b/mkdocs_build/requirements.txt index 32ce57fffe7..1ea4670c382 100644 --- a/mkdocs_build/requirements.txt +++ b/mkdocs_build/requirements.txt @@ -27,7 +27,7 @@ cssselect2==0.7.0 tinycss2==1.2.1 defusedxml==0.7.1 mkdocs==1.4.3 -mkdocs-material==9.1.14 +mkdocs-material==9.1.15 mkdocs-exclude-search==0.6.5 mkdocs-simple-hooks==0.1.5 mkdocs-material-extensions==1.1.1 From bf984caf800acb6d805b2008528f1134cf27c4c1 Mon Sep 17 00:00:00 2001 From: Michael Mintz Date: Tue, 30 May 2023 21:22:55 -0400 Subject: [PATCH 3/4] Refresh Python dependencies --- requirements.txt | 4 ++-- setup.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/requirements.txt b/requirements.txt index 9b57cd503b8..7e1b54f3ae9 100755 --- a/requirements.txt +++ b/requirements.txt @@ -64,7 +64,7 @@ pytest-forked==1.4.0;python_version<"3.7" pytest-forked==1.6.0;python_version>="3.7" pytest-html==2.0.1 pytest-metadata==1.11.0;python_version<"3.7" -pytest-metadata==2.0.4;python_version>="3.7" +pytest-metadata==3.0.0;python_version>="3.7" pytest-ordering==0.6 pytest-rerunfailures==10.3;python_version<"3.7" pytest-rerunfailures==11.1.2;python_version>="3.7" @@ -105,7 +105,7 @@ rich==13.3.5;python_version>="3.7" # ("pip install -r requirements.txt" also installs this, but "pip install -e ." won't.) coverage==6.2;python_version<"3.7" -coverage==7.2.6;python_version>="3.7" +coverage==7.2.7;python_version>="3.7" pytest-cov==4.0.0;python_version<"3.7" pytest-cov==4.1.0;python_version>="3.7" flake8==5.0.4;python_version<"3.9" diff --git a/setup.py b/setup.py index 10317d87b18..2752fe77132 100755 --- a/setup.py +++ b/setup.py @@ -188,7 +188,7 @@ 'pytest-forked==1.6.0;python_version>="3.7"', "pytest-html==2.0.1", # Newer ones had issues 'pytest-metadata==1.11.0;python_version<"3.7"', - 'pytest-metadata==2.0.4;python_version>="3.7"', + 'pytest-metadata==3.0.0;python_version>="3.7"', "pytest-ordering==0.6", 'pytest-rerunfailures==10.3;python_version<"3.7"', 'pytest-rerunfailures==11.1.2;python_version>="3.7"', @@ -241,7 +241,7 @@ # Usage: coverage run -m pytest; coverage html; coverage report "coverage": [ 'coverage==6.2;python_version<"3.7"', - 'coverage==7.2.6;python_version>="3.7"', + 'coverage==7.2.7;python_version>="3.7"', 'pytest-cov==4.0.0;python_version<"3.7"', 'pytest-cov==4.1.0;python_version>="3.7"', ], From 9cc43e46999d0155293e50e687ea597de7412df4 Mon Sep 17 00:00:00 2001 From: Michael Mintz Date: Tue, 30 May 2023 21:23:35 -0400 Subject: [PATCH 4/4] Version 4.14.11 --- seleniumbase/__version__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seleniumbase/__version__.py b/seleniumbase/__version__.py index 6045c4888a8..40d7b9040d5 100755 --- a/seleniumbase/__version__.py +++ b/seleniumbase/__version__.py @@ -1,2 +1,2 @@ # seleniumbase package -__version__ = "4.14.10" +__version__ = "4.14.11"