Skip to content

Commit

Permalink
Added new property for Frame component
Browse files Browse the repository at this point in the history
  • Loading branch information
MiriamKyoseva committed Mar 29, 2024
1 parent bd1f62a commit 0a7be4a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Bellatrix.Playwright/components/Frame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,13 @@ namespace Bellatrix.Playwright;
public class Frame : Component
{
public string Name => GetAttribute("name");

/// <summary>
/// Should this component act like <iframe> and allow searching inside of it or not.
/// </summary>
public bool ActAsFrame
{
get => WrappedElement.IsFrame;
set => WrappedElement.IsFrame = value;
}
}

0 comments on commit 0a7be4a

Please sign in to comment.