public IActionSyntaxProvider RightClick(ElementProxy element) { // Before _logger.LogMessage("Rightclick element with selector: " + element.Element.Selector); // Execute if (!IsInDryRunMode) { _actionSyntaxProvider.RightClick(element); } // After return(this); }