All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.galasa.selenium.IOperaOptions Maven / Gradle / Ivy

The newest version!
/*
 * Copyright contributors to the Galasa project
 *
 * SPDX-License-Identifier: EPL-2.0
 */
package dev.galasa.selenium;

import java.io.File;
import java.util.List;
import java.util.Map;
import java.util.Set;

import org.openqa.selenium.Platform;
import org.openqa.selenium.Proxy;

public interface IOperaOptions {
	
	public void addEncodedExtensions(String... encoded);

    public void addEncodedExtensions(List encoded);

    public void addExtensions(File... paths);

    public void addExtensions(List paths);
    
    public void setBinary(File path);

    public void setBinary(String path);

    public void addArguments(String...arguments);

    public void addArguments(List arguments);

    public void setCapability(String key, Object value);

    public void setCapability(String key, String value);

    public void setCapability(String key, Boolean value);

    public void setCapability(String key, Platform value);

    public void setExperimentalOption(String key, Platform value);

    public void setProxy(Proxy proxy);

    public Map asMap();

    public String getBrowserName();

    public Object getCapability(String capabilityName);

    public Set getCapabilityNames();

    public Object getExperimentalOption(String name);

    public Platform getPlatform();

    public String getVersion();

    public boolean is(String capabilityName);

    public boolean isJavaScriptEnabled(String capabilityName);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy