43 lines
2.8 KiB
Plaintext
43 lines
2.8 KiB
Plaintext
Traceback (most recent call last):
|
|
File "/Users/dohertj2/Desktop/OtOpcUa/infra/tools/ui-consistency/check_tree_recovery.py", line 18, in <module>
|
|
details.locator('summary').click();checks['fullEscapedDiagnostic']='ignored()' in details.inner_text() and details.locator('script').count()==0
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
|
|
File "/opt/homebrew/lib/python3.14/site-packages/playwright/sync_api/_generated.py", line 15631, in click
|
|
self._sync(
|
|
~~~~~~~~~~^
|
|
self._impl_obj.click(
|
|
^^^^^^^^^^^^^^^^^^^^^
|
|
...<10 lines>...
|
|
)
|
|
^
|
|
)
|
|
^
|
|
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 162, in click
|
|
return await self._frame._click(self._selector, strict=True, **params)
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
File "/opt/homebrew/lib/python3.14/site-packages/playwright/_impl/_frame.py", line 566, in _click
|
|
await self._channel.send("click", 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.click: Error: strict mode violation: locator("details").filter(has=get_by_text("Raw loading details", exact=True)).locator("summary") resolved to 7 elements:
|
|
1) <summary aria-label="Toggle navigation" class="rail-toggle btn btn-outline-secondary btn-sm d-lg-none m-2 align-self-start">↵ ☰↵ </summary> aka get_by_label("Toggle navigation")
|
|
2) <summary aria-expanded="true" class="rail-eyebrow-toggle">Operations</summary> aka get_by_text("Operations")
|
|
3) <summary aria-expanded="true" class="rail-eyebrow-toggle">Configuration</summary> aka get_by_text("Configuration", exact=True)
|
|
4) <summary aria-expanded="true" class="rail-eyebrow-toggle">Scripting</summary> aka get_by_text("Scripting")
|
|
5) <summary aria-expanded="true" class="rail-eyebrow-toggle">Administration</summary> aka get_by_text("Administration")
|
|
6) <summary aria-expanded="true" class="rail-eyebrow-toggle">Secrets</summary> aka locator("summary").filter(has_text="Secrets")
|
|
7) <summary b-a6so63ux2l="">Raw loading details</summary> aka get_by_text("Raw loading details")
|
|
|
|
Call log:
|
|
- waiting for locator("details").filter(has=get_by_text("Raw loading details", exact=True)).locator("summary")
|
|
|