Skip to content

Commit 0394563

Browse files
committed
[java] Removing deprecated OVERLAPPING_CHECK_DISABLED cap
1 parent c583458 commit 0394563

File tree

2 files changed

+0
-26
lines changed

2 files changed

+0
-26
lines changed

java/src/org/openqa/selenium/remote/CapabilityType.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,6 @@ public interface CapabilityType {
6262
*/
6363
@Deprecated
6464
String UNEXPECTED_ALERT_BEHAVIOUR = "unexpectedAlertBehaviour";
65-
/**
66-
* @deprecated Non W3C compliant
67-
*/
68-
@Deprecated
69-
String OVERLAPPING_CHECK_DISABLED = "overlappingCheckDisabled";
7065

7166
String BROWSER_NAME = "browserName";
7267
String PLATFORM_NAME = "platformName";

java/test/org/openqa/selenium/firefox/FirefoxDriverTest.java

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
import org.openqa.selenium.WebDriver;
3535
import org.openqa.selenium.WebElement;
3636
import org.openqa.selenium.build.InProject;
37-
import org.openqa.selenium.remote.CapabilityType;
3837
import org.openqa.selenium.remote.Command;
3938
import org.openqa.selenium.remote.CommandExecutor;
4039
import org.openqa.selenium.remote.DriverCommand;
@@ -50,7 +49,6 @@
5049
import org.openqa.selenium.testing.NeedsFreshDriver;
5150
import org.openqa.selenium.testing.NoDriverAfterTest;
5251
import org.openqa.selenium.testing.NoDriverBeforeTest;
53-
import org.openqa.selenium.testing.NotYetImplemented;
5452
import org.openqa.selenium.testing.drivers.WebDriverBuilder;
5553

5654
import java.io.File;
@@ -524,25 +522,6 @@ void searchingByCssDoesNotOverwriteExistingSizzleDefinition() {
524522
.isEqualTo("original sizzle value");
525523
}
526524

527-
@Test
528-
@NotYetImplemented(value = FIREFOX, reason = "https://bugzilla.mozilla.org/show_bug.cgi?id=1415067")
529-
@NoDriverBeforeTest
530-
public void testFirefoxCanNativelyClickOverlappingElements() {
531-
FirefoxOptions options = new FirefoxOptions();
532-
options.setCapability(CapabilityType.OVERLAPPING_CHECK_DISABLED, true);
533-
localDriver = new WebDriverBuilder().get(options);
534-
localDriver.get(appServer.whereIs("click_tests/overlapping_elements.html"));
535-
localDriver.findElement(By.id("under")).click();
536-
assertThat(localDriver.findElement(By.id("log")).getText())
537-
.isEqualTo("Log:\n"
538-
+ "mousedown in over (handled by over)\n"
539-
+ "mousedown in over (handled by body)\n"
540-
+ "mouseup in over (handled by over)\n"
541-
+ "mouseup in over (handled by body)\n"
542-
+ "click in over (handled by over)\n"
543-
+ "click in over (handled by body)");
544-
}
545-
546525
@Test
547526
void canAddRemoveXpiExtensions() {
548527
Path extension = InProject.locate(EXT_XPI);

0 commit comments

Comments
 (0)