florentbr / SeleniumBasic

A Selenium based browser automation framework for VB.Net, VBA and VBScript
BSD 3-Clause "New" or "Revised" License
431 stars 197 forks source link

Issues with sendkeys ctrl + A #230

Open dgrl opened 3 years ago

dgrl commented 3 years ago
Dim keyObj As Selenium.Keys

Set keyObj = New Selenium.Keys
driver.SendKeys keyObj.Control & "a"

This code fixed my issue

///////////////////////////////////////////////////////////////////////

I just run into an issue with sendkeys ctrl +a

I dont think its a bug but I get error 424 (VBA) with this code

driver.FindElementByName("seed").SendKeys (Keys.chord(Keys.Control, "a"))

I canput text in this box and even use the clear function but selecting all the text gives error 424.