@@ -45,6 +45,7 @@ def test_should_get_the_size_of_the_current_window(driver):
45
45
assert size .get ("height" ) > 0
46
46
47
47
48
+ @pytest .mark .xfail_edge
48
49
def test_should_set_the_size_of_the_current_window (driver ):
49
50
size = driver .get_window_size ()
50
51
@@ -57,13 +58,15 @@ def test_should_set_the_size_of_the_current_window(driver):
57
58
assert new_size .get ("height" ) == target_height
58
59
59
60
60
- @pytest .mark .xfail_chrome
61
61
def test_should_get_the_position_of_the_current_window (driver ):
62
62
position = driver .get_window_position ()
63
63
assert position .get ("x" ) >= 0
64
64
assert position .get ("y" ) >= 0
65
65
66
66
67
+ @pytest .mark .xfail_chrome
68
+ @pytest .mark .xfail_edge
69
+ @pytest .mark .xfail_firefox (reason = "https://github.com/mozilla/geckodriver/issues/2224" )
67
70
def test_should_set_the_position_of_the_current_window (driver ):
68
71
position = driver .get_window_position ()
69
72
@@ -81,7 +84,6 @@ def test_should_set_the_position_of_the_current_window(driver):
81
84
82
85
83
86
@pytest .mark .xfail_safari (raises = WebDriverException , reason = "Get Window Rect command not implemented" )
84
- @pytest .mark .xfail_chrome
85
87
def test_should_get_the_rect_of_the_current_window (driver ):
86
88
rect = driver .get_window_rect ()
87
89
assert rect .get ("x" ) >= 0
@@ -90,6 +92,8 @@ def test_should_get_the_rect_of_the_current_window(driver):
90
92
assert rect .get ("height" ) >= 0
91
93
92
94
95
+ @pytest .mark .xfail_edge
96
+ @pytest .mark .xfail_firefox (reason = "https://github.com/mozilla/geckodriver/issues/2224" )
93
97
@pytest .mark .xfail_safari (raises = WebDriverException , reason = "Get Window Rect command not implemented" )
94
98
def test_should_set_the_rect_of_the_current_window (driver ):
95
99
rect = driver .get_window_rect ()
0 commit comments