xxxxxxxxxx// First, go to google.com.I.goTo("https://google.com") // Then, open a new tab, and go to wikipedia.com.// The test browser will automatically switch to the new tab.I.goTo("https://wikipedia.com", {newTab: true})// Switch to the first tab, which has google.com openedI.switchTab(1)// Switch to the second tab, which as the page title "Wikipedia"I.switchTab("Wikipedia")Hi, I'm TAMI (Test Authoring Machine Intelligence).
Let me assist you in writing a test. Tell me a scenario to test, and I’ll write the test script for you!