File tree Expand file tree Collapse file tree 3 files changed +7
-12
lines changed Expand file tree Collapse file tree 3 files changed +7
-12
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/logo3b.png " />
7
7
8
- <p align =" center " ><a href =" https://github.com/seleniumbase/SeleniumBase/ " ><img src =" https://seleniumbase.github.io/cdn/img/sb_media_logo_t3.png " alt =" SeleniumBase " title =" SeleniumBase " width =" 476 " /></a ></p >
8
+ <p align =" center " ><a href =" https://github.com/seleniumbase/SeleniumBase/ " ><img src =" https://seleniumbase.github.io/cdn/img/sb_media_logo_t3.png " alt =" SeleniumBase " title =" SeleniumBase " width =" 442 " /></a ></p >
9
9
10
- <p align =" center " ><b >SeleniumBase</b > simplifies <a href =" https://www.selenium.dev/documentation/webdriver/ " target =" _blank " >WebDriver</a > testing with <b >Python</b > and <a href =" https://docs.pytest.org/en/latest/how-to/usage.html " >pytest</a >.</p >
10
+ <p align =" center " ><b >SeleniumBase</b > is a <a href =" https://www.selenium.dev/documentation/webdriver/ " target =" _blank " >WebDriver</a > framework for <b >Python</b > and <b >< a href =" https://docs.pytest.org/en/latest/how-to/usage.html " >pytest</a ></ b >.</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 1
1
# seleniumbase package
2
- __version__ = "4.6.1 "
2
+ __version__ = "4.6.2 "
Original file line number Diff line number Diff line change @@ -41,16 +41,11 @@ def get_terminal_width():
41
41
width = os .get_terminal_size ().columns
42
42
except Exception :
43
43
try :
44
- if is_windows ():
45
- raise Exception ("Don't even try 'tput cols' on Windows!" )
46
- width = int (subprocess .check_output (["tput" , "cols" ]))
47
- except Exception :
48
- try :
49
- import shutil
44
+ import shutil
50
45
51
- width = shutil .get_terminal_size ((80 , 20 )).columns
52
- except Exception :
53
- pass
46
+ width = shutil .get_terminal_size ((80 , 20 )).columns
47
+ except Exception :
48
+ pass
54
49
return width
55
50
56
51
You can’t perform that action at this time.
0 commit comments