Skip to content

Commit 2bc4070

Browse files
committed
replace existing example url in python tests with selenium.dev
1 parent e9f1e35 commit 2bc4070

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

examples/python/tests/drivers/test_options.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def test_page_load_strategy_normal():
99
options.page_load_strategy = 'normal'
1010
driver = webdriver.Chrome(options=options)
1111

12-
driver.get("http://www.google.com")
12+
driver.get("https://www.selenium.dev/")
1313
driver.quit()
1414

1515

@@ -19,7 +19,7 @@ def test_page_load_strategy_eager():
1919
options.page_load_strategy = 'eager'
2020
driver = webdriver.Chrome(options=options)
2121

22-
driver.get("http://www.google.com")
22+
driver.get("https://www.selenium.dev/")
2323
driver.quit()
2424

2525

@@ -29,7 +29,7 @@ def test_page_load_strategy_none():
2929
options.page_load_strategy = 'none'
3030
driver = webdriver.Chrome(options=options)
3131

32-
driver.get("http://www.google.com")
32+
driver.get("https://www.selenium.dev/")
3333
driver.quit()
3434

3535
def test_capabilities():
@@ -39,61 +39,61 @@ def test_capabilities():
3939
options.accept_insecure_certs = True
4040
driver = webdriver.Chrome(options=options)
4141

42-
driver.get("http://www.google.com")
42+
driver.get("https://www.selenium.dev/")
4343
driver.quit()
4444

4545
def test_timeouts_script():
4646
options = webdriver.ChromeOptions()
4747
options.timeouts = { 'script': 5000 }
4848
driver = webdriver.Chrome(options=options)
4949

50-
driver.get("http://www.google.com")
50+
driver.get("https://www.selenium.dev/")
5151
driver.quit()
5252

5353
def test_timeouts_page_load():
5454
options = webdriver.ChromeOptions()
5555
options.timeouts = { 'pageLoad': 5000 }
5656
driver = webdriver.Chrome(options=options)
5757

58-
driver.get("http://www.google.com")
58+
driver.get("https://www.selenium.dev/")
5959
driver.quit()
6060

6161
def test_timeouts_implicit_wait():
6262
options = webdriver.ChromeOptions()
6363
options.timeouts = { 'implicit': 5000 }
6464
driver = webdriver.Chrome(options=options)
6565

66-
driver.get("http://www.google.com")
66+
driver.get("https://www.selenium.dev/")
6767
driver.quit()
6868

6969
def test_unhandled_prompt():
7070
options = webdriver.ChromeOptions()
7171
options.unhandled_prompt_behavior = 'accept'
7272
driver = webdriver.Chrome(options=options)
7373

74-
driver.get("http://www.google.com")
74+
driver.get("https://www.selenium.dev/")
7575
driver.quit()
7676

7777
def test_set_window_rect():
7878
options = webdriver.FirefoxOptions()
7979
options.set_window_rect = True # Full support in Firefox
8080
driver = webdriver.Firefox(options=options)
8181

82-
driver.get("http://www.google.com")
82+
driver.get("https://www.selenium.dev/")
8383
driver.quit()
8484

8585
def test_strict_file_interactability():
8686
options = webdriver.ChromeOptions()
8787
options.strict_file_interactability = True
8888
driver = webdriver.Chrome(options=options)
8989

90-
driver.get("http://www.google.com")
90+
driver.get("https://www.selenium.dev/")
9191
driver.quit()
9292

9393
def test_proxy():
9494
options = webdriver.ChromeOptions()
9595
options.proxy = Proxy({ 'proxyType': ProxyType.MANUAL, 'httpProxy' : 'http.proxy:1234'})
9696
driver = webdriver.Chrome(options=options)
9797

98-
driver.get("http://www.google.com")
98+
driver.get("https://www.selenium.dev/")
9999
driver.quit()

0 commit comments

Comments
 (0)