Remove FocusAsync for PressKey
This commit is contained in:
parent
f5f92541ea
commit
618b9f5a81
|
|
@ -75,9 +75,6 @@ public partial class PlaywrightWebDriver : IWebBrowser
|
|||
var page = _instance.GetPage(message.ContextId);
|
||||
if (page != null)
|
||||
{
|
||||
// Click on the body to give focus to the page
|
||||
await page.FocusAsync("input");
|
||||
|
||||
await page.Keyboard.PressAsync(key);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue