Traceback (most recent call last): File "/Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/ot13-host-controls/capture-footer-red.py", line 2, in import browser File "/Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/ot13-host-controls/browser.py", line 46, in c=b.new_context(viewport={'width':w,'height':900});case(c.new_page(),mode,str(w));c.close() ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/dohertj2/Desktop/OtOpcUa/docs/ui-consistency/ot13-host-controls/browser.py", line 15, in case expect(d).to_have_accessible_name('Driver controls');expect(d).to_have_accessible_description(re.compile('Synthetic driver 1')) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/lib/python3.14/site-packages/playwright/sync_api/_generated.py", line 20756, in to_have_accessible_name self._sync( ~~~~~~~~~~^ self._impl_obj.to_have_accessible_name( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ name=name, ignoreCase=ignore_case, timeout=timeout ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ ) ^ File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_sync_base.py", line 115, in _sync return task.result() ~~~~~~~~~~~^^ File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_assertions.py", line 858, in to_have_accessible_name await self._expect_impl( ...<5 lines>... ) File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_assertions.py", line 85, in _expect_impl raise AssertionError( f"{out_message}\nActual value: {actual}{error_message} {format_call_log(result.get('log'))}" ) AssertionError: Locator expected to have accessible name Actual value: Driver controls · Synthetic driver 1 synthetic-driver-with-a-deliberately-long-identifier-for-local-reflow-a synthetic-cluster Call log: - Expect "to_have_accessible_name" with timeout 5000ms - waiting for get_by_role("dialog") 9 × locator resolved to - unexpected value "Driver controls · Synthetic driver 1 synthetic-driver-with-a-deliberately-long-identifier-for-local-reflow-a synthetic-cluster"