@@ -0,0 +1,739 @@
+%22%22%22%0D%0ASometimes tests open new tabs/windows, and you'll need%0D%0Ato switch to them first in order to interact with them.%0D%0AThe starting window is window(0). Then increments by 1.%0D%0A%22%22%22%0D%0Afrom seleniumbase import BaseCase%0D%0A%0D%0A%0D%0Aclass TabSwitchingTests(BaseCase):%0D%0A%0D%0A    def test_switch_to_tabs(self):%0D%0A        self.open(%22data:text/html,%3Ch1%3EPage A%3C/h1%3E%22)%0D%0A        self.assert_text(%22Page A%22)%0D%0A        self.open_new_window()%0D%0A        self.open(%22data:text/html,%3Ch1%3EPage B%3C/h1%3E%22)%0D%0A        self.assert_text(%22Page B%22)%0D%0A        self.switch_to_window(0)%0D%0A        self.assert_text(%22Page A%22)%0D%0A        self.assert_text_not_visible(%22Page B%22)%0D%0A        self.switch_to_window(1)%0D%0A        self.assert_text(%22Page B%22)%0D%0A        self.assert_text_not_visible(%22Page A%22)%0D%0A

Add an example test that has switching to a new tab/window