Jump to content

Recommended Posts

Posted

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!

Posted

why would you want do that? 

  1. 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.
  2. 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
  3. 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)

 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...