Skip to content

← All questions

Healing does nothing — I just get the normal Playwright timeout

Asked 9,640 views2 answers

We turned healing on for our checkout page object and the button still fails exactly the way it did before. No heal event, nothing in the log, just the Playwright timeout.

ts
readonly checkout = this.heal.locator(this.page.locator('.btn-primary'), {
  description: 'checkout button',
});

The run output:

text
Error: locator.click: Timeout 15000ms exceeded.
Call log:
  - waiting for locator('.btn-primary')

heal.enabled is true and click is in heal.actions. What am I missing?

asked by Annika Solheim14,002 ·

2 answers

Know the answer?

Reviewed before it appears. Wrap commands and output in triple backticks and they will render as a code block.

Have a different question? Ask it.

Related