Skip to content

← All questions

Healing does nothing — I just get the normal Playwright timeout

Example threads. These questions and answers were written by the SDODS team to document real problems and how to fix them. The people named are illustrative, not real users. Questions asked on this site are marked new.

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?

2 answers

Know the answer?

Wrap commands and output in triple backticks and they will render as a code block.

Checking whether you’re signed in…

Have a different question? Ask it.

Related