Jump to content

Interacting with elements inside a browser using AUTOIT


Fly_Solo
 Share

Recommended Posts

Hello,

Its my first time here ! Greetings.

I was wondering if it would be possible to use Autoit to drag one web-element to another inside a browser window(Chrome). Doing this with the selenium webdriver is easy, since it has inbuilt actions that do drag and drop. But, the webpage I am working on right now has some issue , the same drag and drop code that works on other websites doesn't work on this one. 

So i was thinking of using Autoit to :

1) Select the Chrome window

2) Go to element in position x1,y1 click and hold mouse ( I am using getlocation() to get coordinates, this seems to obtain relative coordinates)

3) move mouse to position x2,y2 and then release mouse

Is this possible using Autoit ? Sorry if this is a noob question.

 

Thanks.

 

 

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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