MCPcopy Index your code
hub / github.com/microsoft/playwright-python / set_test_id_attribute

Method set_test_id_attribute

playwright/_impl/_selectors.py:59–67  ·  view source on GitHub ↗
(self, attributeName: str)

Source from the content-addressed store, hash-verified

57 self._selector_engines.append(engine)
58
59 def set_test_id_attribute(self, attributeName: str) -> None:
60 set_test_id_attribute_name(attributeName)
61 self._test_id_attribute_name = attributeName
62 for context in self._contexts_for_selectors:
63 context._channel.send_no_reply(
64 "setTestIdAttributeName",
65 None,
66 {"testIdAttributeName": attributeName},
67 )

Calls 2

send_no_replyMethod · 0.80