Caching
final class XcuiDemoUITests: XCTestCase {
var app: XCUIApplication!
var gptDriver: GptDriver!
override func setUpWithError() throws {
// Initialize the app
app = XCUIApplication()
app.launch()
// init gpt driver
gptDriver = GptDriver(
apiKey: "<YOUR_API_KEY>",
nativeApp: app,
cachingMode: CachingMode.interactionRegion,
testId: self.name
)
}
...Last updated