We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdf7b0c commit fbf3ea7Copy full SHA for fbf3ea7
examples/python/tests/drivers/test_options.py
@@ -55,9 +55,9 @@ def test_unhandled_prompt():
55
driver.quit()
56
57
def test_set_window_rect():
58
- options = webdriver.ChromeOptions()
+ options = webdriver.FirefoxOptions()
59
options.set_window_rect = True # Full support in Firefox
60
- driver = webdriver.Chrome(options=options)
+ driver = webdriver.Firefox(options=options)
61
driver.get("https://www.selenium.dev/")
62
63
@@ -102,4 +102,4 @@ def test_accept_insecure_certs():
102
options.accept_insecure_certs = True
103
driver = webdriver.Chrome(options=options)
104
105
- driver.quit()
+ driver.quit()
0 commit comments