Allows evaluating PageObjects without starting a full Selenium test run, just feed it some HTML.
- Evaluates @FindBy*
- Tries to inject WebDriver into PageObject, if there is such a field
- Executes all no-args methods and prints their output in the console
- HTML snippets work as well
- Install using IntelliJ's plugin registry
- Download from plugins.jetbrains.com
- Build it yourself, see below
You need to use Java 11 for building, see Troubleshooting section for reason
./gradlew build
./gradlew test
./gradlew verifyPlugin
./gradlew runIde
If you encounter java.lang.NoClassDefFoundError: org/openqa/selenium/WebDriver
,
make sure you have the correct module selected in the run configuration:
Note: This example is taken from a gradle project