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

com.automationrockstars.design.gir.webdriver.plugin.UiObjectFindPlugin Maven / Gradle / Ivy

/*******************************************************************************
 * Copyright (c) 2015 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 com.automationrockstars.design.gir.webdriver.plugin;

import java.util.List;

import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;

import com.automationrockstars.design.gir.webdriver.UiObject;

public interface UiObjectFindPlugin {

	void beforeFindElements(UiObject element, By by);
	void afterFindElements(UiObject element, By by, List result);
	
	void beforeFindElement(UiObject element, By by);
	void afterFindElement(UiObject element, By by, WebElement result);

	void beforeWaitForVisible(UiObject element);
	void afterWaitForVisible(UiObject element);
	
	void beforeWaitForPresent(UiObject element);
	void afterWaitForPresent(UiObject element);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy