Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DesiredCapabilities caps = new DesiredCapabilities()
- caps.setBrowserName("firefox")
- caps.setPlatform(Platform.LINUX)
- FirefoxOptions options = new FirefoxOptions()
- FirefoxProfile profile = new ProfilesIni().getProfile("seluser")
- FirefoxOptions.setProfile(profile)
- caps = options.addTo(caps)
- RemoteWebDriver remoteDriver = new RemoteWebDriver(url, caps)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement