I'm using gauge and taiko for automation, The problem is I'm unable to use xpath for click command on taiko.
await click($("//button[@class='btn-primary'][contains(.,'+ Add New')]"));
await click($("//html/body/form/div[3]/div[4]/div[4]/div[2]/div/div[1]/div/button"));
await click($("//button[contains(@onclick,'Client360.prototype.OpenNewClientModal();')]"));
I have tried all of the above but getting the same error. "Custom selector not found.