@@ -99,13 +99,15 @@ void testShouldNotBeAbleToLocateByIdMultipleElementsThatDoNotExist() {
99
99
}
100
100
101
101
@ Test
102
+ @ Ignore (value = CHROME , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
102
103
void testFindingASingleElementByEmptyIdShouldThrow () {
103
104
driver .get (pages .formPage );
104
105
assertThatExceptionOfType (InvalidSelectorException .class )
105
106
.isThrownBy (() -> driver .findElement (By .id ("" )));
106
107
}
107
108
108
109
@ Test
110
+ @ Ignore (value = CHROME , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
109
111
public void testFindingMultipleElementsByEmptyIdShouldThrow () {
110
112
driver .get (pages .formPage );
111
113
assertThatExceptionOfType (InvalidSelectorException .class )
@@ -315,13 +317,15 @@ void testShouldNotFindElementByClassWhenTheNameQueriedIsShorterThanCandidateName
315
317
}
316
318
317
319
@ Test
320
+ @ Ignore (value = CHROME , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
318
321
void testFindingASingleElementByEmptyClassNameShouldThrow () {
319
322
driver .get (pages .xhtmlTestPage );
320
323
assertThatExceptionOfType (InvalidSelectorException .class )
321
324
.isThrownBy (() -> driver .findElement (By .className ("" )));
322
325
}
323
326
324
327
@ Test
328
+ @ Ignore (value = CHROME , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
325
329
void testFindingMultipleElementsByEmptyClassNameShouldThrow () {
326
330
driver .get (pages .xhtmlTestPage );
327
331
assertThatExceptionOfType (InvalidSelectorException .class )
@@ -434,13 +438,15 @@ void testShouldThrowAnExceptionWhenThereIsNoLinkToClick() {
434
438
}
435
439
436
440
@ Test
441
+ @ Ignore (value = CHROME , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
437
442
void testShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInDriverFindElement () {
438
443
driver .get (pages .formPage );
439
444
assertThatExceptionOfType (InvalidSelectorException .class )
440
445
.isThrownBy (() -> driver .findElement (By .xpath ("this][isnot][valid" )));
441
446
}
442
447
443
448
@ Test
449
+ @ Ignore (value = CHROME , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
444
450
void
445
451
testShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInDriverFindElements () {
446
452
driver .get (pages .formPage );
@@ -449,6 +455,7 @@ void testShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInDri
449
455
}
450
456
451
457
@ Test
458
+ @ Ignore (value = CHROME , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
452
459
void
453
460
testShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInElementFindElement () {
454
461
driver .get (pages .formPage );
@@ -458,6 +465,7 @@ void testShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInDri
458
465
}
459
466
460
467
@ Test
468
+ @ Ignore (value = CHROME , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
461
469
void
462
470
testShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInElementFindElements () {
463
471
driver .get (pages .formPage );
@@ -467,20 +475,23 @@ void testShouldThrowInvalidSelectorExceptionWhenXPathIsSyntacticallyInvalidInDri
467
475
}
468
476
469
477
@ Test
478
+ @ Ignore (value = CHROME , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
470
479
void testShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInDriverFindElement () {
471
480
driver .get (pages .formPage );
472
481
assertThatExceptionOfType (InvalidSelectorException .class )
473
482
.isThrownBy (() -> driver .findElement (By .xpath ("count(//input)" )));
474
483
}
475
484
476
485
@ Test
486
+ @ Ignore (value = CHROME , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
477
487
void testShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInDriverFindElements () {
478
488
driver .get (pages .formPage );
479
489
assertThatExceptionOfType (InvalidSelectorException .class )
480
490
.isThrownBy (() -> driver .findElements (By .xpath ("count(//input)" )));
481
491
}
482
492
483
493
@ Test
494
+ @ Ignore (value = CHROME , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
484
495
void testShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInElementFindElement () {
485
496
driver .get (pages .formPage );
486
497
@@ -490,6 +501,7 @@ void testShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInElementFi
490
501
}
491
502
492
503
@ Test
504
+ @ Ignore (value = CHROME , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
493
505
void testShouldThrowInvalidSelectorExceptionWhenXPathReturnsWrongTypeInElementFindElements () {
494
506
driver .get (pages .formPage );
495
507
WebElement body = driver .findElement (By .tagName ("body" ));
@@ -569,27 +581,31 @@ void testShouldNotFindElementsByCssSelectorWhenThereIsNoSuchElement() {
569
581
}
570
582
571
583
@ Test
584
+ @ Ignore (value = CHROME , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
572
585
void testFindingASingleElementByEmptyCssSelectorShouldThrow () {
573
586
driver .get (pages .xhtmlTestPage );
574
587
assertThatExceptionOfType (InvalidSelectorException .class )
575
588
.isThrownBy (() -> driver .findElement (By .cssSelector ("" )));
576
589
}
577
590
578
591
@ Test
592
+ @ Ignore (value = CHROME , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
579
593
void testFindingMultipleElementsByEmptyCssSelectorShouldThrow () {
580
594
driver .get (pages .xhtmlTestPage );
581
595
assertThatExceptionOfType (InvalidSelectorException .class )
582
596
.isThrownBy (() -> driver .findElements (By .cssSelector ("" )));
583
597
}
584
598
585
599
@ Test
600
+ @ Ignore (value = CHROME , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
586
601
void testFindingASingleElementByInvalidCssSelectorShouldThrow () {
587
602
driver .get (pages .xhtmlTestPage );
588
603
assertThatExceptionOfType (InvalidSelectorException .class )
589
604
.isThrownBy (() -> driver .findElement (By .cssSelector ("//a/b/c[@id='1']" )));
590
605
}
591
606
592
607
@ Test
608
+ @ Ignore (value = CHROME , reason = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743" )
593
609
void testFindingMultipleElementsByInvalidCssSelectorShouldThrow () {
594
610
driver .get (pages .xhtmlTestPage );
595
611
assertThatExceptionOfType (InvalidSelectorException .class )
@@ -753,10 +769,6 @@ public void testShouldNotBeAbleToLocateASingleElementOnABlankPage() {
753
769
754
770
@ SwitchToTopAfterTest
755
771
@ Test
756
- @ Ignore (
757
- value = CHROME ,
758
- reason = "Element in different browsing context can not evaluate stale" ,
759
- issue = "https://bugs.chromium.org/p/chromedriver/issues/detail?id=3742" )
760
772
public void testAnElementFoundInADifferentFrameIsNotFound () {
761
773
driver .get (pages .missedJsReferencePage );
762
774
driver .switchTo ().frame ("inner" );
0 commit comments