This tag selection capability is designed for you to be able to compose flows out of existing test-suites when using the Karate Gatling integration. None of the examples in the documentation use the $varName form on the LHS, and this is the recommended best-practice. The above example can be made more simpler with the use of call (or callonce) without a def-assignment to a variable, and is the recommended pattern for implementing re-usable authentication setup flows. After you have switched, any future actions such as click() would operate within the selected