Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
1. `git clone https://github.com/applitools/tutorial-selenium-java-ultrafastgrid.git`
# Pre-requisites:

1. Java, Maven, IntelliJ IDEA (or Eclipse) installed on your machine.
* [Install JDK](https://www.oracle.com/java/technologies/javase-downloads.html)
* [Install Maven](https://maven.apache.org/install.html)
* [Install IntelliJ IDEA](https://www.jetbrains.com/idea/download/) or [Install Eclipse](https://www.eclipse.org/downloads/)
2. Chrome Webdriver is on your machine and is in the PATH. Here are some resources from the internet that'll help you.
* https://splinter.readthedocs.io/en/0.1/setup-chrome.html
* https://stackoverflow.com/questions/38081021/using-selenium-on-mac-chrome
* https://www.youtube.com/watch?time_continue=182&v=dz59GsdvUF8

# Steps to run this example

1. Git clone this repo

`git clone https://github.com/applitools/tutorial-selenium-java-ultrafastgrid.git`

2. Import the project as a *Maven* project in Eclipse or IntelliJ.
3. Set your API key in the _APPLITOOLS_API_KEY_ env variable. Get an API key by logging into Applitools > Person Icon > My API Key
4. Run `mvn -Dtest=BasicDemo test` or Click the 'Run' button in Eclipse/IntelliJ
4. Click the 'Run' button in Eclipse/IntelliJ

Read more here: https://www.applitools.com/tutorials/selenium-java.html
2 changes: 1 addition & 1 deletion src/test/java/com/applitools/quickstarts/AppTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public static void ultraFastTest(WebDriver webDriver, Eyes eyes) {
webDriver.get("https://demo.applitools.com");

// Call Open on eyes to initialize a test session
eyes.open(webDriver, "Demo app", "Java Ultrafast grid demo", new RectangleSize(800, 600));
eyes.open(webDriver, "Demo App", "Ultrafast grid demo", new RectangleSize(800, 600));

// check the login page with fluent api, see more info here
// https://applitools.com/docs/topics/sdk/the-eyes-sdk-check-fluent-api.html
Expand Down