diff --git a/src/Atata/Components/PageObject`1.cs b/src/Atata/Components/PageObject`1.cs index 61125d7a..8285c972 100644 --- a/src/Atata/Components/PageObject`1.cs +++ b/src/Atata/Components/PageObject`1.cs @@ -2,6 +2,7 @@ using System.Linq; using System.Threading; using OpenQA.Selenium; +using OpenQA.Selenium.Interactions; namespace Atata { @@ -412,6 +413,18 @@ public TOwner Press(string keys) return (TOwner)this; } + /// + /// Performs the specified set of actions. + /// + /// The actions builder. + /// The instance of this page object. + public TOwner PerformActions(Func actionsBuilder) + { + Driver.Perform(actionsBuilder); + + return (TOwner)this; + } + /// /// Waits the specified time. ///