Drag / Drop without locator (or panning)

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Drag / Drop without locator (or panning)

Max Russell
Is there an existing keyword to perform a mouse pan in a browser - e.g. clicking within the browser, possibly by coordinate, then dragging the mouse to pan the image on screen?

The existing drag and drop keywords both appear to use an element to drag.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/b729de9e-821b-47e6-96ac-0bb5f0f26039%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Drag / Drop without locator (or panning)

badri manoj
Max try Actions class Method

Actions act = new Actions(driver);
act.moveByOffset(0, 1).click();

it might help you

Thanks and Regards,
Badri Manoj


On Fri, May 4, 2018 at 1:35 PM, 'Max Russell' via Selenium Users
<[hidden email]> wrote:

> Is there an existing keyword to perform a mouse pan in a browser - e.g.
> clicking within the browser, possibly by coordinate, then dragging the mouse
> to pan the image on screen?
>
> The existing drag and drop keywords both appear to use an element to drag.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Selenium Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [hidden email].
> To post to this group, send email to [hidden email].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/selenium-users/b729de9e-821b-47e6-96ac-0bb5f0f26039%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAJ9220a9w1ZuC0ZAwa%3D9bzYLVFCC1MP25m0EdRWws4eWW_qGcw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

RE: Drag / Drop without locator (or panning)

arshan khan
In reply to this post by Max Russell
You can use html drag and drop API.

From: [hidden email]
Sent: ‎04/‎05/‎2018 01:35 PM
To: [hidden email]
Subject: [selenium-users] Drag / Drop without locator (or panning)

Is there an existing keyword to perform a mouse pan in a browser - e.g. clicking within the browser, possibly by coordinate, then dragging the mouse to pan the image on screen?

The existing drag and drop keywords both appear to use an element to drag.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/b729de9e-821b-47e6-96ac-0bb5f0f26039%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/5aec193a.1c96620a.6e9d0.4cb6%40mx.google.com.
For more options, visit https://groups.google.com/d/optout.