Version 1.7.x
⚠️ JDK 21
Spectrum is now built with a JDK 21. This means that projects using Spectrum need to use at least a jdk 21.
Disclaimer: such a change has been done for two reasons valid at the time of this writing:
- Spectrum is not being publicly used
- JDK 21 is the latest LTS
Default Waits on Specific Events
You can now provide a fixed wait time for each webDriver event in your configuration.yaml
, as in the example below. Check the related docs for more details.
webDriver:
events:
beforeClick:
wait: 1000
Minimal Banner
This is the new banner logged at the beginning of the execution:
__________________________________________________
/ ____ _ \
| / ___| _ __ ___ ___| |_ _ __ _ _ _ __ ___ |
| \___ \| '_ \ / _ \/ __| __| '__| | | | '_ ` _ \ |
| ___) | |_) | __/ (__| |_| | | |_| | | | | | | |
| |____/| .__/ \___|\___|\__|_| \__,_|_| |_| |_| |
| ******|_|*********************** Version: 1.7.0 |
| |
| Please consider giving a GitHub star: |
| https://github.com/giulong/spectrum |
\__________________________________________________/
You can easily customise it by placing a file named src/test/resources/banner.txt
in your project. That will be picked up and will effectively replace the internal one.