fselvatici/ztltest — comment on commit 33b93a253f6ba7df2fed720f291bafe673014c79
File: zstl/test/org/zkoss/zktest/test2/B35/B35_2073451Test.scala line 84
By jumperchen:

if the page is not in zk page, you cannot use any ZTL API, like waitResponse() or jq()...
In this case, after the link being clicked, you can use selenium API to check if the Search button exists.
For example,

click(jq(".z-button:contains(www.google.com)"));

// Verify that the google page is opened by verifying the existence of the "Search" button
verifyTrue("The visible page should be www.google.com", getWebDriver().findElement(By.cssSelector("input[name=btnK]")).isDisplayed());