@@ -45,6 +45,7 @@ def test_should_get_the_size_of_the_current_window(driver):
4545 assert size .get ("height" ) > 0
4646
4747
48+ @pytest .mark .xfail_edge
4849def test_should_set_the_size_of_the_current_window (driver ):
4950 size = driver .get_window_size ()
5051
@@ -57,13 +58,15 @@ def test_should_set_the_size_of_the_current_window(driver):
5758 assert new_size .get ("height" ) == target_height
5859
5960
60- @pytest .mark .xfail_chrome
6161def test_should_get_the_position_of_the_current_window (driver ):
6262 position = driver .get_window_position ()
6363 assert position .get ("x" ) >= 0
6464 assert position .get ("y" ) >= 0
6565
6666
67+ @pytest .mark .xfail_chrome
68+ @pytest .mark .xfail_edge
69+ @pytest .mark .xfail_firefox (reason = "https://github.com/mozilla/geckodriver/issues/2224" )
6770def test_should_set_the_position_of_the_current_window (driver ):
6871 position = driver .get_window_position ()
6972
@@ -81,7 +84,6 @@ def test_should_set_the_position_of_the_current_window(driver):
8184
8285
8386@pytest .mark .xfail_safari (raises = WebDriverException , reason = "Get Window Rect command not implemented" )
84- @pytest .mark .xfail_chrome
8587def test_should_get_the_rect_of_the_current_window (driver ):
8688 rect = driver .get_window_rect ()
8789 assert rect .get ("x" ) >= 0
@@ -90,6 +92,8 @@ def test_should_get_the_rect_of_the_current_window(driver):
9092 assert rect .get ("height" ) >= 0
9193
9294
95+ @pytest .mark .xfail_edge
96+ @pytest .mark .xfail_firefox (reason = "https://github.com/mozilla/geckodriver/issues/2224" )
9397@pytest .mark .xfail_safari (raises = WebDriverException , reason = "Get Window Rect command not implemented" )
9498def test_should_set_the_rect_of_the_current_window (driver ):
9599 rect = driver .get_window_rect ()
0 commit comments