Java Code Examples for org.openqa.selenium.WebElement.getCssValue()

The following are Jave code examples for showing how to use getCssValue() of the org.openqa.selenium.WebElement class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: SWET   File:   Source Code and License Vote up 6 votes
public void flash(WebElement element) {
	String bgcolor = element.getCssValue("backgroundColor");
	for (int i = 0; i < 3; i++) {
		changeColor("rgb(0,200,0)", element);
		changeColor(bgcolor, element);