File tree Expand file tree Collapse file tree 6 files changed +15
-16
lines changed
java/src/org/openqa/selenium Expand file tree Collapse file tree 6 files changed +15
-16
lines changed Original file line number Diff line number Diff line change 3333import org .openqa .selenium .Capabilities ;
3434import org .openqa .selenium .WebDriverException ;
3535import org .openqa .selenium .chromium .ChromiumDriverLogLevel ;
36+ import org .openqa .selenium .remote .service .DriverFinder ;
3637import org .openqa .selenium .remote .service .DriverService ;
3738
3839/** Manages the life and death of a ChromeDriver server. */
@@ -128,8 +129,8 @@ public Capabilities getDefaultDriverOptions() {
128129 /**
129130 * Configures and returns a new {@link ChromeDriverService} using the default configuration. In
130131 * this configuration, the service will use the ChromeDriver executable identified by {@link
131- * org.openqa.selenium.remote.service. DriverFinder#getResult( DriverService, Capabilities)}. Each
132- * service created by this method will be configured to use a free port on the current system.
132+ * DriverFinder#getDriverPath()} ( DriverService, Capabilities)}. Each service created by this
133+ * method will be configured to use a free port on the current system.
133134 *
134135 * @return A new ChromeDriverService using the default configuration.
135136 */
Original file line number Diff line number Diff line change 3131import org .openqa .selenium .Capabilities ;
3232import org .openqa .selenium .WebDriverException ;
3333import org .openqa .selenium .chromium .ChromiumDriverLogLevel ;
34+ import org .openqa .selenium .remote .service .DriverFinder ;
3435import org .openqa .selenium .remote .service .DriverService ;
3536
3637/** Manages the life and death of the MSEdgeDriver */
@@ -117,8 +118,8 @@ public Capabilities getDefaultDriverOptions() {
117118 /**
118119 * Configures and returns a new {@link EdgeDriverService} using the default configuration. In this
119120 * configuration, the service will use the MSEdgeDriver executable identified by the {@link
120- * org.openqa.selenium.remote.service. DriverFinder#getResult( DriverService, Capabilities)}. Each
121- * service created by this method will be configured to use a free port on the current system.
121+ * DriverFinder#getDriverPath()} ( DriverService, Capabilities)}. Each service created by this
122+ * method will be configured to use a free port on the current system.
122123 *
123124 * @return A new EdgeDriverService using the default configuration.
124125 */
Original file line number Diff line number Diff line change 3131import java .util .Map ;
3232import org .openqa .selenium .Capabilities ;
3333import org .openqa .selenium .WebDriverException ;
34+ import org .openqa .selenium .remote .service .DriverFinder ;
3435import org .openqa .selenium .remote .service .DriverService ;
3536
3637/** Manages the life and death of an IEDriverServer. */
@@ -104,8 +105,7 @@ public Capabilities getDefaultDriverOptions() {
104105 /**
105106 * Configures and returns a new {@link InternetExplorerDriverService} using the default
106107 * configuration. In this configuration, the service will use the IEDriverServer executable
107- * identified by the {@link
108- * org.openqa.selenium.remote.service.DriverFinder#getResult(DriverService, Capabilities)}. Each
108+ * identified by the {@link DriverFinder#getDriverPath()} (DriverService, Capabilities)}. Each
109109 * service created by this method will be configured to use a free port on the current system.
110110 *
111111 * @return A new InternetExplorerDriverService using the default configuration.
Original file line number Diff line number Diff line change 1717
1818package org .openqa .selenium .remote ;
1919
20- import org .openqa .selenium .Capabilities ;
2120import org .openqa .selenium .WebDriverException ;
22- import org .openqa .selenium .remote .service .DriverService ;
21+ import org .openqa .selenium .remote .service .DriverFinder ;
2322
24- /**
25- * Thrown by {@link org.openqa.selenium.remote.service.DriverFinder#getResult(DriverService,
26- * Capabilities)}.
27- */
23+ /** Thrown by {@link DriverFinder#getDriverPath()} (DriverService, Capabilities)}. */
2824public class NoSuchDriverException extends WebDriverException {
2925
3026 private static final String SUPPORT_URL = BASE_SUPPORT_URL + "/driver_location/" ;
Original file line number Diff line number Diff line change 3535import org .openqa .selenium .Capabilities ;
3636import org .openqa .selenium .WebDriverException ;
3737import org .openqa .selenium .net .PortProber ;
38+ import org .openqa .selenium .remote .service .DriverFinder ;
3839import org .openqa .selenium .remote .service .DriverService ;
3940
4041/** Manages the life and death of SafariDriver. */
@@ -95,8 +96,8 @@ protected Capabilities getDefaultDriverOptions() {
9596 /**
9697 * Configures and returns a new {@link SafariDriverService} using the default configuration. In
9798 * this configuration, the service will use the SafariDriver executable identified by the {@link
98- * org.openqa.selenium.remote.service. DriverFinder#getResult( DriverService, Capabilities)}. Each
99- * service created by this method will be configured to use a free port on the current system.
99+ * DriverFinder#getDriverPath()} ( DriverService, Capabilities)}. Each service created by this
100+ * method will be configured to use a free port on the current system.
100101 *
101102 * @return A new SafariDriverService using the default configuration.
102103 */
Original file line number Diff line number Diff line change 3535import org .openqa .selenium .Capabilities ;
3636import org .openqa .selenium .WebDriverException ;
3737import org .openqa .selenium .net .PortProber ;
38+ import org .openqa .selenium .remote .service .DriverFinder ;
3839import org .openqa .selenium .remote .service .DriverService ;
3940
4041/** Manages the life and death of SafariDriver Technology Preview. */
@@ -96,8 +97,7 @@ public Capabilities getDefaultDriverOptions() {
9697 /**
9798 * Configures and returns a new {@link SafariTechPreviewDriverService} using the default
9899 * configuration. In this configuration, the service will use the SafariDriver executable
99- * identified by the {@link
100- * org.openqa.selenium.remote.service.DriverFinder#getResult(DriverService, Capabilities)}. Each
100+ * identified by the {@link DriverFinder#getDriverPath()} (DriverService, Capabilities)}. Each
101101 * service created by this method will be configured to use a free port on the current system.
102102 *
103103 * @return A new SafariTechPreviewDriverService using the default configuration.
You can’t perform that action at this time.
0 commit comments