Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Drag & Drop issue still unsolved? #13448

Closed
7nights opened this issue Jul 31, 2015 · 2 comments
Closed

Drag & Drop issue still unsolved? #13448

7nights opened this issue Jul 31, 2015 · 2 comments
Labels

Comments

@7nights
Copy link

7nights commented Jul 31, 2015

I've searched for a solution to simulate drag & drop for a long time. But since the document says:

For 'mousemove', however, there is no button pressed (i.e. it is not dragging).

It seems to be no way to do this thing? I find that someone said they found a solution (#10586), but it seems that they still have problems with their implementation(I tried to look for their code but got a 404 page) and it never works for me.

Does anyone have a workaround?

@lidel
Copy link

lidel commented Sep 24, 2015

I got Drag&Drop tests working under Selenium+Nightwatch+PhantomJS.

My versions:

├── nightwatch@0.6.15 
├── phantomjs@1.9.18 
└── selenium-standalone@4.6.1

To simulate drag&drop from #foo to #bar:

  browser
//(...)
  .moveToElement('#foo',5,5)
  .mouseButtonDown('left')
  .moveToElement('#bar',5,5)
  .mouseButtonUp('left')

References:

@stale stale bot added the stale label Dec 27, 2019
@stale
Copy link

stale bot commented Dec 30, 2019

Due to our very limited maintenance capacity, we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed (see #15395 for more details). In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution!

@stale stale bot closed this as completed Dec 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants