WebSocket Specific Import

When you use multiple WebTau features you can single static import to have all core features available for autocomplete. It also requires a single dependency to bring all the WebTau modules. Groovy import static org.testingisdocumenting.webtau.WebTauGroovyDsl.* <dependency> <groupId>org.testingisdocumenting.webtau</groupId> <artifactId>webtau-groovy</artifactId> <version>2.2</version> </dependency> If you use groovy-standalone-runner/introduction Groovy Runner then all the dependencies are already present. Java import static org.testingisdocumenting.webtau.WebTauDsl.*; <dependency> <groupId>org.testingisdocumenting.webtau</groupId> <artifactId>webtau</artifactId> <version>2.2</version> </dependency> To only import websocket module use Groovy import static org.testingisdocumenting.webtau.websocket.WebSocket.websocket <!-- ~ Copyright 2023 webtau maintainers ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <dependency> <groupId>org.testingisdocumenting.webtau</groupId> <artifactId>webtau-websocket</artifactId> <version>2.2</version> </dependency> Java import static org.testingisdocumenting.webtau.websocket.WebSocket.websocket; <!-- ~ Copyright 2023 webtau maintainers ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <dependency> <groupId>org.testingisdocumenting.webtau</groupId> <artifactId>webtau-websocket</artifactId> <version>2.2</version> </dependency>