GunjanSheth
GunjanSheth
hey @rwoll, I can repro what @Boeing787 is saying the code ``` from lib.test_base import TestBase issue_url = "https://github.com/microsoft/playwright/issues/17429" url = "https://the-internet.herokuapp.com/" TestBase.get_page().goto(url) loc1 = TestBase.get_page().locator("xpath=//ul") list1 = loc1.locator("a:has-text('Dropdown'), a:has-text('Checkboxes')")...
> There's currently not a great way of expressing OR semantics when using the Playwright chaining (>>) locator. thanks @rwoll for looking into this and thanks @Boeing787 for bringing this...
Sure @rwoll the **_lib.test_base.py_** module ``` from playwright.sync_api import Browser, Page, sync_playwright class TestBase: __browser: Browser = None __page: Page = None @staticmethod def get_browser(): if TestBase.__browser is None or...