
org.openqa.selenium.phantomjs.PhantomjsOptions Maven / Gradle / Ivy
The newest version!
/*******************************************************************************
* Copyright (c) 2015, 2016 Automation RockStars Ltd.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License v2.0
* which accompanies this distribution, and is available at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Contributors:
* Automation RockStars - initial API and implementation
*******************************************************************************/
package org.openqa.selenium.phantomjs;
import org.openqa.selenium.Capabilities;
import org.openqa.selenium.Platform;
import org.openqa.selenium.remote.BrowserType;
import org.openqa.selenium.remote.DesiredCapabilities;
public class PhantomjsOptions {
public Capabilities toCapabilities() {
return new DesiredCapabilities(BrowserType.PHANTOMJS, "", Platform.WINDOWS);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy