File tree 2 files changed +1
-38
lines changed
client/src/org/openqa/selenium/internal
server/src/org/openqa/selenium/remote/server
2 files changed +1
-38
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 29
29
import org .openqa .selenium .html5 .WebStorage ;
30
30
import org .openqa .selenium .interactions .HasTouchScreen ;
31
31
import org .openqa .selenium .internal .FindsByCssSelector ;
32
- import org .openqa .selenium .internal .Killable ;
33
32
import org .openqa .selenium .io .TemporaryFilesystem ;
34
33
import org .openqa .selenium .mobile .NetworkConnection ;
35
34
import org .openqa .selenium .remote .CapabilityType ;
@@ -119,9 +118,7 @@ private static boolean isQuietModeEnabled(
119
118
public void close () {
120
119
try {
121
120
WebDriver driver = getDriver ();
122
- if (driver instanceof Killable ) {
123
- ((Killable ) driver ).kill ();
124
- } else if (driver != null ) {
121
+ if (driver != null ) {
125
122
driver .close ();
126
123
}
127
124
} catch (RuntimeException e ) {
You can’t perform that action at this time.
0 commit comments