-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
- Loading branch information
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
namespace Behavioral.Automation.Bindings.UI.Abstractions; | ||
namespace Behavioral.Automation.Interfaces.UI.Abstractions; | ||
|
||
public interface IPage | ||
{ | ||
public Task GoToUrlAsync(string url); | ||
public Task GoToApplicationUrlAsync(); | ||
public Task HaveTitleAsync(string title); | ||
public Task<IFileChooser> RunAndWaitForFileChooserAsync(Func<Task> action); | ||
public Task ScreenshotAsync(string path); | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using Behavioral.Automation.Interfaces.UI.Context; | ||
|
||
namespace Behavioral.Automation.Interfaces.UI.Abstractions; | ||
|
||
public interface IWebElement | ||
{ | ||
public WebContext WebContext { get; } | ||
public ElementSelector ElementSelector { get; } | ||
public string? Description { get; set; } | ||
public bool IsVisible(); | ||
public bool IsVisible(int delay); | ||
} |