Skip to content

Commit f6dcd5b

Browse files
authored
Merge pull request #627 from seleniumbase/keep-url-with-reuse-session
Keep the current URL when using "--reuse-session"
2 parents aec4b80 + dbd5a37 commit f6dcd5b

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ coverage==5.2
4242
pyotp==2.3.0
4343
boto==2.49.0
4444
cffi==1.14.0
45-
rich==3.3.1;python_version>="3.6" and python_version<"4.0"
45+
rich==3.3.2;python_version>="3.6" and python_version<"4.0"
4646
flake8==3.7.9;python_version<"3.5"
4747
flake8==3.8.3;python_version>="3.5"
4848
pyflakes==2.1.1;python_version<"3.5"

seleniumbase/fixtures/base_case.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5428,9 +5428,11 @@ def setUp(self, masterqa_mode=False):
54285428
new_start_page = "http://" + self.start_page
54295429
if page_utils.is_valid_url(new_start_page):
54305430
self.open(new_start_page)
5431-
else:
5431+
elif self._crumbs:
54325432
if self.get_current_url() != "data:,":
54335433
self.open("data:,")
5434+
else:
5435+
pass
54345436
else:
54355437
# Launch WebDriver for both Pytest and Nosetests
54365438
self.driver = self.get_new_driver(browser=self.browser,

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

5555
setup(
5656
name='seleniumbase',
57-
version='1.42.12',
57+
version='1.42.13',
5858
description='Fast, Easy, and Reliable Browser Automation & Testing.',
5959
long_description=long_description,
6060
long_description_content_type='text/markdown',
@@ -134,7 +134,7 @@
134134
'pyotp==2.3.0',
135135
'boto==2.49.0',
136136
'cffi==1.14.0',
137-
'rich==3.3.1;python_version>="3.6" and python_version<"4.0"',
137+
'rich==3.3.2;python_version>="3.6" and python_version<"4.0"',
138138
'flake8==3.7.9;python_version<"3.5"',
139139
'flake8==3.8.3;python_version>="3.5"',
140140
'pyflakes==2.1.1;python_version<"3.5"',

0 commit comments

Comments
 (0)