Traceback (most recent call last): File "/Users/dohertj2/Desktop/ScadaBridge/infra/tools/inspect_final_integration.py", line 38, in record['checks']['thinFailureRule']=page.locator('.ft-row.failed').evaluate('e=>getComputedStyle(e).boxShadow').find('1px')>=0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/lib/python3.14/site-packages/playwright/sync_api/_generated.py", line 15837, in evaluate self._sync( ~~~~~~~~~~^ self._impl_obj.evaluate( ^^^^^^^^^^^^^^^^^^^^^^^^ expression=expression, arg=mapping.to_impl(arg), 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/_locator.py", line 191, in evaluate return await self._with_element( ^^^^^^^^^^^^^^^^^^^^^^^^^ ...<2 lines>... ) ^ File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_locator.py", line 113, in _with_element handle = await self.element_handle(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_locator.py", line 319, in element_handle handle = await self._frame.wait_for_selector( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ self._selector, strict=True, state="attached", **params ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_frame.py", line 369, in wait_for_selector await self._channel.send( "waitForSelector", self._timeout, locals_to_params(locals()) ) File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_connection.py", line 69, in send return await self._connection.wrap_api_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...<3 lines>... ) ^ File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_connection.py", line 559, in wrap_api_call raise rewrite_error(error, f"{parsed_st['apiName']}: {error}") from None playwright._impl._errors.Error: Locator.evaluate: Error: strict mode violation: locator(".ft-row.failed") resolved to 2 elements: 1) … aka get_by_role("row", name="2 +1000 ms Site API call") 2) … aka get_by_role("row", name="3 +2000 ms Site API call") Call log: - waiting for locator(".ft-row.failed")