bostjan35 Posted November 24, 2021 Posted November 24, 2021 Hi all, Is there a way for autoit to interact with existing chrome session (insert JS into DOM, find element, etc.), without having to use WD or IUIautomation? Thanks!
junkew Posted November 24, 2021 Posted November 24, 2021 why would you want do that? yes you can but it will be harder as you have to rely on win* functions, send, mouseclick And when you reach the addressbar you can type with send: javascript:<yourjavascript> to run certain javascript functions including all DOM find element stuff. yes you can but then you would use the chromedev protocol whereas WD is already a wrapper on top of the low level debug protocol yes you can if you make playwright accessible in AutoIt (so far no library in AutoIt to use playwright which is also based on chromedev protocol) FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets
Danp2 Posted November 24, 2021 Posted November 24, 2021 Don't believe that I've ever used it, but there is a Chrome UDF. Have you looked into that? Latest Webdriver UDF Release Webdriver Wiki FAQs
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now