mirror of
https://github.com/microsoft/playwright-dotnet.git
synced 2026-10-29 14:11:20 +08:00
fix: return copy of list in IPage.Frames (#2724)
This commit is contained in:
@@ -211,7 +211,7 @@ internal class Page : ChannelOwnerBase, IChannelOwner<Page>, IPage
|
||||
|
||||
public string Url => MainFrame.Url;
|
||||
|
||||
public IReadOnlyList<IFrame> Frames => _frames.AsReadOnly();
|
||||
public IReadOnlyList<IFrame> Frames => _frames.ToList().AsReadOnly();
|
||||
|
||||
public IKeyboard Keyboard
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user