Update README with CC-SA license and VS Code recommendation
This commit is contained in:
12
README.md
12
README.md
@@ -8,16 +8,22 @@ Código del curso de Selenium WebDriver de [Agile611](https://www.agile611.com)
|
|||||||
3. [Maven](https://maven.apache.org/download.cgi)
|
3. [Maven](https://maven.apache.org/download.cgi)
|
||||||
4. [Firefox](https://www.mozilla.org/en-US/firefox/new/) instalado
|
4. [Firefox](https://www.mozilla.org/en-US/firefox/new/) instalado
|
||||||
5. [Chrome](https://www.google.com/chrome/) instalado
|
5. [Chrome](https://www.google.com/chrome/) instalado
|
||||||
6. [Intellij Idea](https://www.jetbrains.com/idea/) o el IDE de Java que más os guste
|
6. [Visual Studio Code](https://code.visualstudio.com/) o el IDE de Java que más os guste
|
||||||
|
|
||||||
|
|
||||||
Puedes encontrar el [curso completo aquí](https://www.agile611.com/cursos/agile/curso-online-selenium-webdriver-version-java/)
|
Puedes encontrar el [curso completo aquí](https://www.agile611.com/cursos/agile/curso-online-selenium-webdriver-version-java/)
|
||||||
|
|
||||||
|
## Cómo ejecutar
|
||||||
|
|
||||||
|
1. Clona el repositorio
|
||||||
|
2. Ejecuta `mvn clean test` para correr los tests
|
||||||
|
3. Los tests usan Firefox y Chrome, asegúrate de que los drivers estén en el PATH o en src/main/resources
|
||||||
|
|
||||||
## Soporte
|
## Soporte
|
||||||
|
|
||||||
Este tutorial es de dominio público y lo ha realizado [Agile611](https://www.agile611.com) under WTFPL.
|
Este tutorial es de dominio público y lo ha realizado [Agile611](https://www.agile611.com) under CC-SA.
|
||||||
|
|
||||||
[](http://www.wtfpl.net/)
|
[](https://creativecommons.org/licenses/by-sa/4.0/)
|
||||||
|
|
||||||
Este README lo ha hecho [Guillem Hernández Sola](https://www.linkedin.com/in/guillemhs/) y también es de dominio público.
|
Este README lo ha hecho [Guillem Hernández Sola](https://www.linkedin.com/in/guillemhs/) y también es de dominio público.
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
BIN
src/main/resources/chromedriver.exe
Normal file → Executable file
BIN
src/main/resources/chromedriver.exe
Normal file → Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
src/main/resources/geckodriver.exe
Executable file → Normal file
BIN
src/main/resources/geckodriver.exe
Executable file → Normal file
Binary file not shown.
@@ -1,5 +1,8 @@
|
|||||||
package com.agile611.testng.webdriver;
|
package com.agile611.testng.webdriver;
|
||||||
|
|
||||||
|
import java.io.File;
|
||||||
|
import java.time.Duration;
|
||||||
|
|
||||||
import org.openqa.selenium.JavascriptExecutor;
|
import org.openqa.selenium.JavascriptExecutor;
|
||||||
import org.openqa.selenium.WebDriver;
|
import org.openqa.selenium.WebDriver;
|
||||||
import org.openqa.selenium.chrome.ChromeDriver;
|
import org.openqa.selenium.chrome.ChromeDriver;
|
||||||
@@ -9,11 +12,6 @@ import org.openqa.selenium.firefox.FirefoxOptions;
|
|||||||
import org.testng.annotations.AfterClass;
|
import org.testng.annotations.AfterClass;
|
||||||
import org.testng.annotations.BeforeClass;
|
import org.testng.annotations.BeforeClass;
|
||||||
|
|
||||||
import java.io.File;
|
|
||||||
import java.time.Duration;
|
|
||||||
|
|
||||||
import static org.testng.Assert.fail;
|
|
||||||
|
|
||||||
public class BaseTest {
|
public class BaseTest {
|
||||||
public WebDriver driver;
|
public WebDriver driver;
|
||||||
public static JavascriptExecutor jse;
|
public static JavascriptExecutor jse;
|
||||||
|
|||||||
Reference in New Issue
Block a user