The "easy out" for tools in this space is to give you export (For example to Selenium/Puppeteer/Playwright). A lot of the "premium" test tools offer this functionality.
The "less easy out" is an on-prem version with a contract regarding updates + a clause for what happens if the company goes under in terms of support + an escrow over the code (the company gets a copy of the code + the license to change but not sell it etc).
The "less easy out" is an on-prem version with a contract regarding updates + a clause for what happens if the company goes under in terms of support + an escrow over the code (the company gets a copy of the code + the license to change but not sell it etc).