Merge pull request #841 from seleniumbase/update-python-dependencies
Update Python dependencies
This commit is contained in:
commit
15c54f4899
|
@ -8,8 +8,8 @@
|
|||
<p align="center"><a href="https://github.com/seleniumbase/SeleniumBase/">
|
||||
<img src="https://seleniumbase.io/cdn/img/sb_logo_gs.png" alt="SeleniumBase" title="SeleniumBase" width="500" /></a></p>
|
||||
<p align="center"><a href="https://github.com/seleniumbase/SeleniumBase/releases">
|
||||
<img src="https://img.shields.io/github/v/release/seleniumbase/SeleniumBase.svg?color=2277ee" alt="Latest Release on GitHub" /></a> <a href="https://pypi.org/project/seleniumbase/">
|
||||
<img src="https://img.shields.io/pypi/v/seleniumbase.svg?color=2299ee" alt="Latest Release on PyPI" /></a></p>
|
||||
<img src="https://img.shields.io/github/v/release/seleniumbase/SeleniumBase.svg?color=00a0c0" alt="Latest Release on GitHub" /></a> <a href="https://pypi.org/project/seleniumbase/">
|
||||
<img src="https://img.shields.io/pypi/v/seleniumbase.svg?color=00a0e0" alt="Latest Release on PyPI" /></a></p>
|
||||
<p align="center">
|
||||
<b>End-to-end testing for the next generation.</b>
|
||||
</p>
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
"""
|
||||
Sometimes tests open new tabs/windows, and you'll need
|
||||
to switch to them first in order to interact with them.
|
||||
The starting window is window(0). Then increments by 1.
|
||||
"""
|
||||
from seleniumbase import BaseCase
|
||||
|
||||
|
||||
class TabSwitchingTests(BaseCase):
|
||||
|
||||
def test_switch_to_tabs(self):
|
||||
self.open("data:text/html,<h1>Page A</h1>")
|
||||
self.assert_text("Page A")
|
||||
self.open_new_window()
|
||||
self.open("data:text/html,<h1>Page B</h1>")
|
||||
self.assert_text("Page B")
|
||||
self.switch_to_window(0)
|
||||
self.assert_text("Page A")
|
||||
self.assert_text_not_visible("Page B")
|
||||
self.switch_to_window(1)
|
||||
self.assert_text("Page B")
|
||||
self.assert_text_not_visible("Page A")
|
|
@ -12,7 +12,7 @@ certifi>=2020.12.5
|
|||
six==1.15.0
|
||||
nose==1.3.7
|
||||
ipdb==0.13.4;python_version<"3.6"
|
||||
ipdb==0.13.6;python_version>="3.6"
|
||||
ipdb==0.13.7;python_version>="3.6"
|
||||
parso==0.7.1;python_version<"3.6"
|
||||
parso==0.8.1;python_version>="3.6"
|
||||
jedi==0.17.2;python_version<"3.6"
|
||||
|
@ -20,7 +20,7 @@ jedi==0.18.0;python_version>="3.6"
|
|||
idna==2.10
|
||||
chardet==3.0.4;python_version<"3.6"
|
||||
chardet==4.0.0;python_version>="3.6"
|
||||
urllib3==1.26.3
|
||||
urllib3==1.26.4
|
||||
requests==2.25.1
|
||||
selenium==3.141.0
|
||||
msedge-selenium-tools==3.141.3
|
||||
|
@ -66,7 +66,7 @@ ipython==7.21.0;python_version>="3.7"
|
|||
colorama==0.4.4
|
||||
pathlib2==2.3.5;python_version<"3.5"
|
||||
importlib-metadata==2.0.0;python_version<"3.6"
|
||||
virtualenv>=20.4.2
|
||||
virtualenv>=20.4.3
|
||||
pymysql==0.10.1;python_version<"3.6"
|
||||
pymysql==1.0.2;python_version>="3.6"
|
||||
brython==3.9.1
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
# seleniumbase package
|
||||
__version__ = "1.58.0"
|
||||
__version__ = "1.58.1"
|
||||
|
|
6
setup.py
6
setup.py
|
@ -117,7 +117,7 @@ setup(
|
|||
'six==1.15.0',
|
||||
'nose==1.3.7',
|
||||
'ipdb==0.13.4;python_version<"3.6"',
|
||||
'ipdb==0.13.6;python_version>="3.6"',
|
||||
'ipdb==0.13.7;python_version>="3.6"',
|
||||
'parso==0.7.1;python_version<"3.6"',
|
||||
'parso==0.8.1;python_version>="3.6"',
|
||||
'jedi==0.17.2;python_version<"3.6"',
|
||||
|
@ -125,7 +125,7 @@ setup(
|
|||
'idna==2.10', # Must stay in sync with "requests"
|
||||
'chardet==3.0.4;python_version<"3.6"', # Stay in sync with "requests"
|
||||
'chardet==4.0.0;python_version>="3.6"', # Stay in sync with "requests"
|
||||
'urllib3==1.26.3', # Must stay in sync with "requests"
|
||||
'urllib3==1.26.4', # Must stay in sync with "requests"
|
||||
'requests==2.25.1',
|
||||
'selenium==3.141.0',
|
||||
'msedge-selenium-tools==3.141.3',
|
||||
|
@ -171,7 +171,7 @@ setup(
|
|||
'colorama==0.4.4',
|
||||
'pathlib2==2.3.5;python_version<"3.5"', # Sync with "virtualenv"
|
||||
'importlib-metadata==2.0.0;python_version<"3.6"', # Sync "virtualenv"
|
||||
'virtualenv>=20.4.2', # Sync with importlib-metadata and pathlib2
|
||||
'virtualenv>=20.4.3', # Sync with importlib-metadata and pathlib2
|
||||
'pymysql==0.10.1;python_version<"3.6"',
|
||||
'pymysql==1.0.2;python_version>="3.6"',
|
||||
'brython==3.9.1',
|
||||
|
|
Loading…
Reference in New Issue