namespace BotSharp.Plugin.WebDriver.Drivers.PlaywrightDriver; public partial class PlaywrightWebDriver { public async Task ActionOnElement(MessageInfo message, ElementLocatingArgs location, ElementActionArgs action) { await _instance.Wait(message.ConversationId); var result = await LocateElement(message, location); if (result.IsSuccess) { await DoAction(message, action, result); } return result; } }