Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drag and drop doesn't work #933

Closed
ffMathy opened this issue Feb 24, 2019 · 3 comments
Closed

Drag and drop doesn't work #933

ffMathy opened this issue Feb 24, 2019 · 3 comments
Labels
question Upstream Change needed We need to wait for changes in Chromium or Puppeteer (Node.JS)

Comments

@ffMathy
Copy link

ffMathy commented Feb 24, 2019

The following code does not work for dragging and dropping:

	await _page.Mouse.MoveAsync(140, 140);
	await _page.Mouse.DownAsync();

	await _page.Mouse.MoveAsync(140, 380,
		new MoveOptions() {
			Steps = 100
		});
	await _page.Mouse.UpAsync();

Attached is the page that I am doing this on.

Note that the events actually do fire, but the final #result label does not contain the proper drop event text that is present when dragging/dropping in the browser.

drag.zip

@kblok
Copy link
Member

kblok commented Feb 26, 2019

I think we need to wait from Puppeteer on this one puppeteer/puppeteer#1376

@kblok kblok added the Upstream Change needed We need to wait for changes in Chromium or Puppeteer (Node.JS) label Jun 4, 2019
@kblok kblok closed this as completed Jul 3, 2021
@ffMathy
Copy link
Author

ffMathy commented Jul 4, 2021

@kblok this was fixed in puppeteer/puppeteer#7150.

Any chance to make it into Puppeteer Sharp?

@kblok
Copy link
Member

kblok commented Jul 5, 2021

I created this issue a few days ago #1744

I plan to try to catch pptr again. PRs and/or sponsorships are welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Upstream Change needed We need to wait for changes in Chromium or Puppeteer (Node.JS)
Projects
None yet
Development

No branches or pull requests

2 participants