This project automates 2048 web game.
1. From comand line:
Run mvn clean -Dtest.browser=safari test -D=Game2048MainPageTest
from project root directory to start the test.
You can choose browser by changing -Dtest.browser
param.
2. From your favourite IDE:
Import the project and run Game2048MainPageTest
class as simple TestNG test.
You can choose browser by changing default_browser
property in the project.properties
file.
Safari browser:
For SafariDriver 2.45.0 you have to install SafariDriver Extension manually
Chrome browser:
As for now, project supports only MacOS and Windows ChromeDriver.
Firefox browser:
Performance issue. See this opened bug.