Chrome 89 Selenium Basic

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
daved
Posts: 2
Joined: 29 Mar 2021, 09:20

Chrome 89 Selenium Basic

30 Mar 2021, 11:47

Hello,

I am using Autohotkey with Selenium Basic and controlling current open Chrome, but as Chrome changed from version 88 to 89 my scripts stopped working.
The error is already on the first FindElementById, so I don't think it connects to Chrome at all.
(Error 0xA00A0007 -
Source Selenium
Element Not found for for id=post-shortlink10)

Code: Select all

driver := ChromeGet()

varOrder := driver.findElementByID("post-shortlink10").Attribute("value") ; get ordernumber

ChromeGet(IP_Port := "127.0.0.1:9222") {
 driver := ComObjCreate("Selenium.ChromeDriver")
 driver.SetCapability("debuggerAddress", IP_Port)
 driver.Start()
 return driver
}
I tried to run my script with Run as Administrator, then I get 0x800401F3 Invalid Class String on the ComObjCreate("Selenium.ChromeDriver")

Thank you for any help with this.
User avatar
Xtra
Posts: 2750
Joined: 02 Oct 2015, 12:15

Re: Chrome 89 Selenium Basic

30 Mar 2021, 11:58

Im not using ChromeGet but chrome 89 is working fine with Selenium Basic.

Element Not found for for id=post-shortlink10 Means the element with id post-shortlink10 is not on the page. (verify it has not changed)
If there was an issue with connecting to Selenium you would have had an error before that.

HTH
daved
Posts: 2
Joined: 29 Mar 2021, 09:20

Re: Chrome 89 Selenium Basic

30 Mar 2021, 13:01

Xtra wrote:
30 Mar 2021, 11:58
Im not using ChromeGet but chrome 89 is working fine with Selenium Basic.

Element Not found for for id=post-shortlink10 Means the element with id post-shortlink10 is not on the page. (verify it has not changed)
If there was an issue with connecting to Selenium you would have had an error before that.

HTH
Thank you for your answer, but the script has not changed, the element is there and this has happened on 2 different computers, both after chrome updated to 89.
I downgraded to Chrome 88 and the script works, the same script does not work on the computer where I have Chrome 89, so I am sure it has to do with the Chrome update.
Milchmann
Posts: 112
Joined: 05 Nov 2016, 08:50

Re: Chrome 89 Selenium Basic

20 May 2021, 07:07

Have the same problem. Google Chrome greater version 88 brings problems with all my applications, respectively only small parts of them work.

Is there an alternative?


Thanks
letacio
Posts: 48
Joined: 08 Mar 2018, 16:05

Re: Chrome 89 Selenium Basic

20 May 2021, 15:06

Mauybe it's obvious, but did you update webdriver file?

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Tech Stuff and 375 guests