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 33
33
import org .openqa .selenium .Capabilities ;
34
34
import org .openqa .selenium .WebDriverException ;
35
35
import org .openqa .selenium .chromium .ChromiumDriverLogLevel ;
36
+ import org .openqa .selenium .remote .service .DriverFinder ;
36
37
import org .openqa .selenium .remote .service .DriverService ;
37
38
38
39
/** Manages the life and death of a ChromeDriver server. */
@@ -128,8 +129,8 @@ public Capabilities getDefaultDriverOptions() {
128
129
/**
129
130
* Configures and returns a new {@link ChromeDriverService} using the default configuration. In
130
131
* 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.
133
134
*
134
135
* @return A new ChromeDriverService using the default configuration.
135
136
*/
Original file line number Diff line number Diff line change 31
31
import org .openqa .selenium .Capabilities ;
32
32
import org .openqa .selenium .WebDriverException ;
33
33
import org .openqa .selenium .chromium .ChromiumDriverLogLevel ;
34
+ import org .openqa .selenium .remote .service .DriverFinder ;
34
35
import org .openqa .selenium .remote .service .DriverService ;
35
36
36
37
/** Manages the life and death of the MSEdgeDriver */
@@ -117,8 +118,8 @@ public Capabilities getDefaultDriverOptions() {
117
118
/**
118
119
* Configures and returns a new {@link EdgeDriverService} using the default configuration. In this
119
120
* 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.
122
123
*
123
124
* @return A new EdgeDriverService using the default configuration.
124
125
*/
Original file line number Diff line number Diff line change 31
31
import java .util .Map ;
32
32
import org .openqa .selenium .Capabilities ;
33
33
import org .openqa .selenium .WebDriverException ;
34
+ import org .openqa .selenium .remote .service .DriverFinder ;
34
35
import org .openqa .selenium .remote .service .DriverService ;
35
36
36
37
/** Manages the life and death of an IEDriverServer. */
@@ -104,8 +105,7 @@ public Capabilities getDefaultDriverOptions() {
104
105
/**
105
106
* Configures and returns a new {@link InternetExplorerDriverService} using the default
106
107
* 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
109
109
* service created by this method will be configured to use a free port on the current system.
110
110
*
111
111
* @return A new InternetExplorerDriverService using the default configuration.
Original file line number Diff line number Diff line change 17
17
18
18
package org .openqa .selenium .remote ;
19
19
20
- import org .openqa .selenium .Capabilities ;
21
20
import org .openqa .selenium .WebDriverException ;
22
- import org .openqa .selenium .remote .service .DriverService ;
21
+ import org .openqa .selenium .remote .service .DriverFinder ;
23
22
24
- /**
25
- * Thrown by {@link org.openqa.selenium.remote.service.DriverFinder#getResult(DriverService,
26
- * Capabilities)}.
27
- */
23
+ /** Thrown by {@link DriverFinder#getDriverPath()} (DriverService, Capabilities)}. */
28
24
public class NoSuchDriverException extends WebDriverException {
29
25
30
26
private static final String SUPPORT_URL = BASE_SUPPORT_URL + "/driver_location/" ;
Original file line number Diff line number Diff line change 35
35
import org .openqa .selenium .Capabilities ;
36
36
import org .openqa .selenium .WebDriverException ;
37
37
import org .openqa .selenium .net .PortProber ;
38
+ import org .openqa .selenium .remote .service .DriverFinder ;
38
39
import org .openqa .selenium .remote .service .DriverService ;
39
40
40
41
/** Manages the life and death of SafariDriver. */
@@ -95,8 +96,8 @@ protected Capabilities getDefaultDriverOptions() {
95
96
/**
96
97
* Configures and returns a new {@link SafariDriverService} using the default configuration. In
97
98
* 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.
100
101
*
101
102
* @return A new SafariDriverService using the default configuration.
102
103
*/
Original file line number Diff line number Diff line change 35
35
import org .openqa .selenium .Capabilities ;
36
36
import org .openqa .selenium .WebDriverException ;
37
37
import org .openqa .selenium .net .PortProber ;
38
+ import org .openqa .selenium .remote .service .DriverFinder ;
38
39
import org .openqa .selenium .remote .service .DriverService ;
39
40
40
41
/** Manages the life and death of SafariDriver Technology Preview. */
@@ -96,8 +97,7 @@ public Capabilities getDefaultDriverOptions() {
96
97
/**
97
98
* Configures and returns a new {@link SafariTechPreviewDriverService} using the default
98
99
* 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
101
101
* service created by this method will be configured to use a free port on the current system.
102
102
*
103
103
* @return A new SafariTechPreviewDriverService using the default configuration.
You can’t perform that action at this time.
0 commit comments