kazurayam / chromedriverfactory

A Java library that enables you to launch Selenium ChromeDriver using an existing user Profile. That let you to carry cookies over multiple HTTP sessions via user Profile.
0 stars 0 forks source link

add ChromeDriverFactory#newWebDriver(ProfileDirectoryName name) #4

Closed kazurayam closed 2 years ago

kazurayam commented 2 years ago

WebDriverFactory4ks had 2 designated methods

https://github.com/kazurayam/WebDriverFactory4ks/blob/master/Keywords/com/kazurayam/ks/webdriverfactory/chrome/ChromeDriverFactory.groovy

I miss need newWebDriverWithProfileFolder(String foldername) - equivalent method. Because with that method I could start Chrome using "Default" folder.

WebDriver chrome = new ChromeDriverFactory.Bulder().build().newWebDriver(new ProfileDirectoryName("Default")  /// or "Profile 1"
kazurayam commented 2 years ago

v0.2.2 should support this