Class WebDriverFactory
- java.lang.Object
-
- io.github.commonslibs.selenium_lib.webdriver.WebDriverFactory
-
public class WebDriverFactory extends Object
Factoria de Web drivers. Devuelve el driver del navegador especificado mediante obtenerInstancia().- Author:
- dmartinez
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWebDriverFactory.Navegador
-
Field Summary
Fields Modifier and Type Field Description static booleanIS_HEADLESSstatic booleanIS_MODO_INCOGNITOstatic booleanIS_REMOTE_SELENIUM_GRIDstatic booleanIS_VIDEO_ENABLED
-
Constructor Summary
Constructors Constructor Description WebDriverFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.openqa.selenium.WebDriverobtenerInstancia(WebDriverFactory.Navegador navegador)No se implementa como singleton debido a una posible ejecución en paralelo.
-
-
-
Method Detail
-
obtenerInstancia
public static org.openqa.selenium.WebDriver obtenerInstancia(WebDriverFactory.Navegador navegador)
No se implementa como singleton debido a una posible ejecución en paralelo.- Parameters:
navegador- navegador web que se usara para la prueba- Returns:
- wd el webdriver
-
-