We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a459010 commit eaf22a4Copy full SHA for eaf22a4
java/client/src/org/openqa/selenium/chrome/ChromeDriver.java
@@ -173,20 +173,4 @@ public <X> X getScreenshotAs(OutputType<X> target) {
173
// ... and convert it.
174
return target.convertFromBase64Png(base64);
175
}
176
-
177
- @Override
178
- protected void startSession(Capabilities desiredCapabilities,
179
- Capabilities requiredCapabilities) {
180
- try {
181
- super.startSession(desiredCapabilities, requiredCapabilities);
182
- } catch (WebDriverException e) {
183
184
- quit();
185
- } catch (Throwable t) {
186
- // Ignoring to report the exception thrown earlier.
187
- }
188
189
- throw e;
190
191
192
0 commit comments