Tranquire.Selenium package - Galad/tranquire GitHub Wiki
The package Tranquire.Selenium contains actions and questions that wrap existing Selenium actions in IAction objects that you can combine, and add additional features.
Actions and questions can be used by adding the WebBrowser ability to the actor, using the CanUse method:
var driver = new ChromeDriver();
john = new Actor("john").CanUse(WebBrowser.With(driver));
Built-in actions
Built-in actions can be created via static factories in static classes. Here is the list of available actions:
ClearClickEnterHitJsClickNavigateOpenContextMenuSelectUsingIFrameWait
Wait actions
Wait.During. Waits during the specified amount of time.Wait.Until(target). Perform wait actions conditioned on an action. Available conditions are:IsVisibleIsNotVisibleIsPresent
Built-in questions
Just like actions, built-in questions can be created via static factories in static classes. Here is the list of available questions:
ClassesCssValueElementEnabledHtmlAttributePage.TitlePage.UrlPage.HtmlPresenceSelectedSelectedValueSelectedValuesTextValueVisibility