sclass GazelleSiteTester implements AutoCloseable { PlaywrightAndBrowser playwright; S site = "https://empty.gazelle.rocks"; void init { if (playwright == null) playwright = playwrightWithChromium(); } class TestRegistration { S user = "testuser" + random(1000000); S pw = "pw" + random(1000000); S contact = "dummy contact"; Page page; run { init(); page = playwrightOpenPage(playwright.browser, site); page.click("text=Register as new user"); page.fill("[name=user]", user); page.fill("[name=f_pw]", pw); page.fill("[name=pw2]", pw); page.fill("[name=contact]", contact); page.click([[[type=submit]:has-text("Register")]]); } } public void close { dispose playwright; } }