| 程序包 | 说明 |
|---|---|
| org.openqa.selenium.chrome |
| 限定符和类型 | 方法和说明 |
|---|---|
static ChromeDriverService |
ChromeDriverService.createDefaultService()
Configures and returns a new
ChromeDriverService using the default configuration. |
| 构造器和说明 |
|---|
ChromeDriver(ChromeDriverService service)
Creates a new ChromeDriver instance.
|
ChromeDriver(ChromeDriverService service,
Capabilities capabilities)
Creates a new ChromeDriver instance.
|
ChromeDriver(ChromeDriverService service,
ChromeOptions options)
Creates a new ChromeDriver instance with the specified options.
|