JavascriptExecutor is an open-source tool for testing web and responsive functionality. It is also a functional testing framework.
- It enables to write and execute your scenarios and helper methods in js file.
- It enables to model your scripts in your Java classes. (PSM)
For more information visit http://jsexecutor.com.
Please refer to examples.
In order to be able to run JavascriptExecutor against the Chrome Browser, you need to download the ChromDriver.
-
Java 1.8+
-
Maven 3.3 or later
Add the following dependency in your Pom.xml file to use JavascriptExecutor with Maven:
<dependency>
<groupId>com.jsexecutor</groupId>
<artifactId>jsexecutor-core</artifactId>
<version>1.0.8</version>
</dependency>
Add the following to use JavascriptExecutor with Gradle Groovy:
implementation 'com.jsexecutor:jsexecutor-core:1.0.8'
Add the following to use JavascriptExecutor with Gradle Groovy:
implementation("com.jsexecutor:jsexecutor-core:1.0.8")
All releases are available at Maven Central Repository.
Project can be tested by the following maven command:
mvn clean test
.
Contributions are always welcomed!
Please read the contribution guidelines.
Javascript Executor Framework is licensed under Apache License, Version 2.0.