File tree Expand file tree Collapse file tree 5 files changed +15
-13
lines changed Expand file tree Collapse file tree 5 files changed +15
-13
lines changed Original file line number Diff line number Diff line change 5
5
<meta property =" og:image " content =" https://seleniumbase.github.io/cdn/img/mac_sb_logo_5b.png " />
6
6
<link rel =" icon " href =" https://seleniumbase.github.io/img/green_logo2.png " />
7
7
8
- <p align =" center " ><a href =" https://github.com/seleniumbase/SeleniumBase/ " ><img src =" https://seleniumbase.github.io/cdn/img/mac_sb_logo_bw .png " alt =" SeleniumBase " title =" SeleniumBase " width =" 408 " /></a ></p >
8
+ <p align =" center " ><a href =" https://github.com/seleniumbase/SeleniumBase/ " ><img src =" https://seleniumbase.github.io/cdn/img/mac_sb_logo_bg6 .png " alt =" SeleniumBase " title =" SeleniumBase " width =" 408 " /></a ></p >
9
9
10
- <p align =" center " ><b >A framework for browser automation & testing with <a href =" https://www.python.org/about/ " target =" _blank " >Python</a >.</b ><br />SeleniumBase extends <a href =" https://www.selenium.dev/documentation/webdriver/ " target =" _blank " >Selenium WebDriver</a > as a <a href =" https://docs.pytest.org/en/latest/how-to/usage.html " target =" _blank " >pytest</a > plugin.</p >
10
+ <p align =" center " ><b >A web automation framework for E2E testing with <a href =" https://www.python.org/about/ " target =" _blank " >Python</a >.</b ><br />SeleniumBase extends <a href =" https://www.selenium.dev/documentation/webdriver/ " target =" _blank " >Selenium WebDriver</a > as a <a href =" https://docs.pytest.org/en/latest/how-to/usage.html " target =" _blank " >pytest</a > plugin.</p >
11
11
12
12
<p align =" center " ><a href =" https://pypi.python.org/pypi/seleniumbase " target =" _blank " ><img src =" https://img.shields.io/pypi/v/seleniumbase.svg?color=3399EE " alt =" PyPI version " /></a > <a href =" https://github.com/seleniumbase/SeleniumBase/releases " target =" _blank " ><img src =" https://img.shields.io/github/v/release/seleniumbase/SeleniumBase.svg?color=22AAEE " alt =" GitHub version " /></a > <a href =" https://seleniumbase.io " ><img src =" https://img.shields.io/badge/docs-seleniumbase.io-11BBAA.svg " alt =" SeleniumBase Docs " /></a > <a href =" https://github.com/seleniumbase/SeleniumBase/actions " target =" _blank " ><img src =" https://github.com/seleniumbase/SeleniumBase/workflows/CI%20build/badge.svg " alt =" SeleniumBase GitHub Actions " /></a > <a href =" https://gitter.im/seleniumbase/SeleniumBase " target =" _blank " ><img src =" https://badges.gitter.im/seleniumbase/SeleniumBase.svg " alt =" SeleniumBase " /></a ></p >
13
13
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ packaging>=20.9;python_version<"3.6"
5
5
packaging >= 21.3 ;python_version >= "3.6"
6
6
setuptools >= 44.1.1 ;python_version < "3.6"
7
7
setuptools >= 59.6.0 ;python_version >= "3.6" and python_version<"3.7"
8
- setuptools >= 65.4.0 ;python_version >= "3.7"
8
+ setuptools >= 65.4.1 ;python_version >= "3.7"
9
9
tomli >= 1.2.3 ;python_version >= "3.6" and python_version<"3.7"
10
10
tomli >= 2.0.1 ;python_version >= "3.7"
11
11
tqdm >= 4.64.1
@@ -125,7 +125,7 @@ rich==12.5.1;python_version>="3.6" and python_version<"4.0"
125
125
126
126
coverage == 5.5 ;python_version < "3.6"
127
127
coverage == 6.2 ;python_version >= "3.6" and python_version<"3.7"
128
- coverage == 6.4.4 ;python_version >= "3.7"
128
+ coverage == 6.5.0 ;python_version >= "3.7"
129
129
pytest-cov == 2.12.1 ;python_version < "3.6"
130
130
pytest-cov == 4.0.0 ;python_version >= "3.6"
131
131
flake8 == 3.7.9 ;python_version < "3.6"
Original file line number Diff line number Diff line change 1
1
# seleniumbase package
2
- __version__ = "4.5.0 "
2
+ __version__ = "4.5.1 "
Original file line number Diff line number Diff line change @@ -99,11 +99,11 @@ def __initialize_variables(self):
99
99
self.driver = None
100
100
self.environment = None
101
101
self.env = None # Add a shortened version of self.environment
102
- self.headless = None
103
- self.headless2 = None # The new headless mode for Chromium
104
- self.version_tuple = (
105
- tuple([int(i) for i in __version__.split(".") if i.isdigit()] )
106
- )
102
+ self.version_list = [
103
+ int(i) for i in __version__.split(".") if i.isdigit()
104
+ ]
105
+ self.version_tuple = tuple(self.version_list )
106
+ self.version_info = self.version_tuple
107
107
self.__page_sources = []
108
108
self.__extra_actions = []
109
109
self.__js_start_time = 0
@@ -5588,12 +5588,14 @@ def get_unique_links(self):
5588
5588
"a"->"href", "img"->"src", "link"->"href", and "script"->"src".
5589
5589
"""
5590
5590
self.__check_scope()
5591
+ if settings.SKIP_JS_WAITS and self.page_load_strategy == "none":
5592
+ time.sleep(0.16)
5591
5593
try:
5592
5594
self.wait_for_element_visible("body", timeout=1.5)
5593
5595
except Exception:
5594
5596
pass
5595
- page_url = self.get_current_url()
5596
5597
soup = self.get_beautiful_soup(self.get_page_source())
5598
+ page_url = self.get_current_url()
5597
5599
links = page_utils._get_unique_links(page_url, soup)
5598
5600
return links
5599
5601
Original file line number Diff line number Diff line change 131
131
'packaging>=21.3;python_version>="3.6"' ,
132
132
'setuptools>=44.1.1;python_version<"3.6"' ,
133
133
'setuptools>=59.6.0;python_version>="3.6" and python_version<"3.7"' ,
134
- 'setuptools>=65.4.0 ;python_version>="3.7"' ,
134
+ 'setuptools>=65.4.1 ;python_version>="3.7"' ,
135
135
'tomli>=1.2.3;python_version>="3.6" and python_version<"3.7"' ,
136
136
'tomli>=2.0.1;python_version>="3.7"' ,
137
137
"tqdm>=4.64.1" ,
251
251
"coverage" : [
252
252
'coverage==5.5;python_version<"3.6"' ,
253
253
'coverage==6.2;python_version>="3.6" and python_version<"3.7"' ,
254
- 'coverage==6.4.4 ;python_version>="3.7"' ,
254
+ 'coverage==6.5.0 ;python_version>="3.7"' ,
255
255
'pytest-cov==2.12.1;python_version<"3.6"' ,
256
256
'pytest-cov==4.0.0;python_version>="3.6"' ,
257
257
],
You can’t perform that action at this time.
0 commit comments