Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright 2011 selunit.org Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. /
package org.selunit.maven.config;

Configuration bean to define Selenium properties used in a test job execution.

Author(s):
mbok
	private boolean unsetPort = trueunsetBrowserUrl = true;

The port on which the Selenium server will be started.

Parameter:
default-value="4449"
	private int port = 4449;

The Selenium browser key on which the test will be run; must be one of the standard valid browser names (and must start with a *), e.g. *firefox, *iexplore, *custom.

Required:
Parameter:
default-value="*firefox"
	private String browserKey = "*firefox";
		super();
	}

Creates a new instance by merging parameters from parent and child.

Parameters:
parent
child
		super(parentchild);
		setPort(!child.unsetPort ? child.getPort() : parent.getPort());
		setBrowserKey(!child.unsetBrowserUrl ? child.getBrowserKey() : parent
	}

Returns:
the port
	public int getPort() {
		return ;
	}

Parameters:
port the port to set
	public void setPort(int port) {
		this. = port;
		this. = port == 0;
	}

Returns:
the browserKey
	public String getBrowserKey() {
		return ;
	}

Parameters:
browserKey the browserKey to set
	public void setBrowserKey(String browserKey) {
		this. = browserKey;
		this. = browserKey == null;
	}
New to GrepCode? Check out our FAQ X