@@ -193,6 +193,7 @@ def test_should_not_be_able_to_locate_by_tag_name_multiple_elements_that_do_not_
193
193
@pytest .mark .xfail_firefox (reason = "https://github.com/mozilla/geckodriver/issues/2007" )
194
194
@pytest .mark .xfail_remote (reason = "https://github.com/mozilla/geckodriver/issues/2007" )
195
195
@pytest .mark .xfail_safari (reason = "unlike chrome, safari raises NoSuchElementException" )
196
+ @pytest .mark .xfail_chrome (reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
196
197
def test_finding_asingle_element_by_empty_tag_name_should_throw (driver , pages ):
197
198
pages .load ("formPage.html" )
198
199
with pytest .raises (InvalidSelectorException ):
@@ -202,6 +203,7 @@ def test_finding_asingle_element_by_empty_tag_name_should_throw(driver, pages):
202
203
@pytest .mark .xfail_firefox (reason = "https://github.com/mozilla/geckodriver/issues/2007" )
203
204
@pytest .mark .xfail_remote (reason = "https://github.com/mozilla/geckodriver/issues/2007" )
204
205
@pytest .mark .xfail_safari (reason = "unlike chrome, safari returns an empty list" )
206
+ @pytest .mark .xfail_chrome (reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
205
207
def test_finding_multiple_elements_by_empty_tag_name_should_throw (driver , pages ):
206
208
pages .load ("formPage.html" )
207
209
with pytest .raises (InvalidSelectorException ):
@@ -276,6 +278,7 @@ def test_should_not_find_element_by_class_when_the_name_queried_is_shorter_than_
276
278
277
279
278
280
@pytest .mark .xfail_safari (reason = "unlike chrome, safari raises TimeoutException" )
281
+ @pytest .mark .xfail_chrome (reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
279
282
def test_finding_asingle_element_by_empty_class_name_should_throw (driver , pages ):
280
283
pages .load ("xhtmlTest.html" )
281
284
msg = r"\/errors#invalid-selector-exception"
@@ -284,6 +287,7 @@ def test_finding_asingle_element_by_empty_class_name_should_throw(driver, pages)
284
287
285
288
286
289
@pytest .mark .xfail_safari (reason = "unlike chrome, safari raises TimeoutException" )
290
+ @pytest .mark .xfail_chrome (reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
287
291
def test_finding_multiple_elements_by_empty_class_name_should_throw (driver , pages ):
288
292
pages .load ("xhtmlTest.html" )
289
293
with pytest .raises (InvalidSelectorException ):
@@ -297,13 +301,15 @@ def test_finding_asingle_element_by_compound_class_name_should_throw(driver, pag
297
301
298
302
299
303
@pytest .mark .xfail_safari (reason = "unlike chrome, safari raises TimeoutException" )
304
+ @pytest .mark .xfail_chrome (reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
300
305
def test_finding_asingle_element_by_invalid_class_name_should_throw (driver , pages ):
301
306
pages .load ("xhtmlTest.html" )
302
307
with pytest .raises (InvalidSelectorException ):
303
308
driver .find_element (By .CLASS_NAME , "!@#$%^&*" )
304
309
305
310
306
311
@pytest .mark .xfail_safari (reason = "unlike chrome, safari raises TimeoutException" )
312
+ @pytest .mark .xfail_chrome (reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
307
313
def test_finding_multiple_elements_by_invalid_class_name_should_throw (driver , pages ):
308
314
pages .load ("xhtmlTest.html" )
309
315
with pytest .raises (InvalidSelectorException ):
@@ -387,6 +393,7 @@ def test_should_throw_an_exception_when_there_is_no_link_to_click(driver, pages)
387
393
388
394
389
395
@pytest .mark .xfail_safari (reason = "unlike chrome, safari raises TimeoutException" )
396
+ @pytest .mark .xfail_chrome (reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
390
397
def test_should_throw_invalid_selector_exception_when_xpath_is_syntactically_invalid_in_driver_find_element (
391
398
driver , pages
392
399
):
@@ -396,6 +403,7 @@ def test_should_throw_invalid_selector_exception_when_xpath_is_syntactically_inv
396
403
397
404
398
405
@pytest .mark .xfail_safari (reason = "unlike chrome, safari raises TimeoutException" )
406
+ @pytest .mark .xfail_chrome (reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
399
407
def test_should_throw_invalid_selector_exception_when_xpath_is_syntactically_invalid_in_driver_find_elements (
400
408
driver , pages
401
409
):
@@ -405,6 +413,7 @@ def test_should_throw_invalid_selector_exception_when_xpath_is_syntactically_inv
405
413
406
414
407
415
@pytest .mark .xfail_safari (reason = "unlike chrome, safari raises TimeoutException" )
416
+ @pytest .mark .xfail_chrome (reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
408
417
def test_should_throw_invalid_selector_exception_when_xpath_is_syntactically_invalid_in_element_find_element (
409
418
driver , pages
410
419
):
@@ -415,6 +424,7 @@ def test_should_throw_invalid_selector_exception_when_xpath_is_syntactically_inv
415
424
416
425
417
426
@pytest .mark .xfail_safari (reason = "unlike chrome, safari raises TimeoutException" )
427
+ @pytest .mark .xfail_chrome (reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
418
428
def test_should_throw_invalid_selector_exception_when_xpath_is_syntactically_invalid_in_element_find_elements (
419
429
driver , pages
420
430
):
@@ -425,20 +435,23 @@ def test_should_throw_invalid_selector_exception_when_xpath_is_syntactically_inv
425
435
426
436
427
437
@pytest .mark .xfail_safari (reason = "unlike chrome, safari raises TimeoutException" )
438
+ @pytest .mark .xfail_chrome (reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
428
439
def test_should_throw_invalid_selector_exception_when_xpath_returns_wrong_type_in_driver_find_element (driver , pages ):
429
440
pages .load ("formPage.html" )
430
441
with pytest .raises (InvalidSelectorException ):
431
442
driver .find_element (By .XPATH , "count(//input)" )
432
443
433
444
434
445
@pytest .mark .xfail_safari (reason = "unlike chrome, safari raises TimeoutException" )
446
+ @pytest .mark .xfail_chrome (reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
435
447
def test_should_throw_invalid_selector_exception_when_xpath_returns_wrong_type_in_driver_find_elements (driver , pages ):
436
448
pages .load ("formPage.html" )
437
449
with pytest .raises (InvalidSelectorException ):
438
450
driver .find_elements (By .XPATH , "count(//input)" )
439
451
440
452
441
453
@pytest .mark .xfail_safari (reason = "unlike chrome, safari raises TimeoutException" )
454
+ @pytest .mark .xfail_chrome (reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
442
455
def test_should_throw_invalid_selector_exception_when_xpath_returns_wrong_type_in_element_find_element (driver , pages ):
443
456
pages .load ("formPage.html" )
444
457
body = driver .find_element (By .TAG_NAME , "body" )
@@ -447,6 +460,7 @@ def test_should_throw_invalid_selector_exception_when_xpath_returns_wrong_type_i
447
460
448
461
449
462
@pytest .mark .xfail_safari (reason = "unlike chrome, safari raises TimeoutException" )
463
+ @pytest .mark .xfail_chrome (reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
450
464
def test_should_throw_invalid_selector_exception_when_xpath_returns_wrong_type_in_element_find_elements (driver , pages ):
451
465
pages .load ("formPage.html" )
452
466
body = driver .find_element (By .TAG_NAME , "body" )
@@ -519,27 +533,31 @@ def test_should_not_find_elements_by_css_selector_when_there_is_no_such_element(
519
533
520
534
521
535
@pytest .mark .xfail_safari (reason = "unlike chrome, safari raises TimeoutException" )
536
+ @pytest .mark .xfail_chrome (reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
522
537
def test_finding_asingle_element_by_empty_css_selector_should_throw (driver , pages ):
523
538
pages .load ("xhtmlTest.html" )
524
539
with pytest .raises (InvalidSelectorException ):
525
540
driver .find_element (By .CSS_SELECTOR , "" )
526
541
527
542
528
543
@pytest .mark .xfail_safari (reason = "unlike chrome, safari raises TimeoutException" )
544
+ @pytest .mark .xfail_chrome (reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
529
545
def test_finding_multiple_elements_by_empty_css_selector_should_throw (driver , pages ):
530
546
pages .load ("xhtmlTest.html" )
531
547
with pytest .raises (InvalidSelectorException ):
532
548
driver .find_elements (By .CSS_SELECTOR , "" )
533
549
534
550
535
551
@pytest .mark .xfail_safari (reason = "unlike chrome, safari raises TimeoutException" )
552
+ @pytest .mark .xfail_chrome (reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
536
553
def test_finding_asingle_element_by_invalid_css_selector_should_throw (driver , pages ):
537
554
pages .load ("xhtmlTest.html" )
538
555
with pytest .raises (InvalidSelectorException ):
539
556
driver .find_element (By .CSS_SELECTOR , "//a/b/c[@id='1']" )
540
557
541
558
542
559
@pytest .mark .xfail_safari (reason = "unlike chrome, safari raises TimeoutException" )
560
+ @pytest .mark .xfail_chrome (reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
543
561
def test_finding_multiple_elements_by_invalid_css_selector_should_throw (driver , pages ):
544
562
pages .load ("xhtmlTest.html" )
545
563
with pytest .raises (InvalidSelectorException ):
0 commit comments