79740352

Date: 2025-08-19 20:01:15
Score: 0.5
Natty:
Report link

If what you shared is a working example, then, you could do:

# wait for the old message to be unloaded
expect(old_message_element).toBeHidden()

then continue with what you wrote:

answer_input = page.locator("#message textarea[name='answer']")
....
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ProgrammingEnthusiast