blob: 5c3817da1de490d1ac2d088ceb31dc8b2815384b [file] [log] [blame]
/*
Copyright 2010 Selenium committers
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.openqa.selenium;
import org.openqa.selenium.internal.WrapsDriver;
import java.util.List;
public class StubElement implements WebElement, WrapsDriver {
public void click() {
}
public void submit() {
}
public void sendKeys(CharSequence... keysToSend) {
}
public void clear() {
}
public String getTagName() {
return null;
}
public String getAttribute(String name) {
return null;
}
public boolean toggle() {
return false;
}
public boolean isSelected() {
return false;
}
public void setSelected() {
}
public boolean isEnabled() {
return false;
}
public String getText() {
return null;
}
public List<WebElement> findElements(By by) {
return null;
}
public WebElement findElement(By by) {
return null;
}
public WebDriver getWrappedDriver() {
return null;
}
public boolean isDisplayed() {
return false;
}
public Point getLocation() {
return null;
}
public Dimension getSize() {
return null;
}
public String getCssValue(String propertyName) {
return null;
}
}