You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// simulate dblclick on textasyncfunctioninit(){constbrowser=awaitpuppeteer.launch({headless: false,defaultViewport: null})constpage=(awaitbrowser.pages())[0]awaitpage.goto('http://bennadel.github.io/JavaScript-Demos/demos/selection-range-rects/')awaitpage.mouse.move(573,199)awaitpage.waitFor(50)// simulate dblclickawaitpage.mouse.down()awaitpage.waitFor(50)awaitpage.mouse.up()awaitpage.waitFor(50)awaitpage.mouse.down()awaitpage.waitFor(50)awaitpage.mouse.up()awaitpage.waitFor(50)}init()
What is the expected result?
Should like normal browser, double click on text should highlight the word.
What happens instead?
No selection highlight happened on word, and the text selection is collapsed.
The text was updated successfully, but these errors were encountered:
futurist
changed the title
highlight text/element selection and visually response to selection API
highlight text/element selection and visually response to selection API when double clicked
Jun 11, 2019
We're marking this issue as unconfirmed because it has not had recent activity and we weren't able to confirm it yet. It will be closed if no further activity occurs within the next 30 days.
We are closing this issue. If the issue still persists in the latest version of Puppeteer, please reopen the issue and update the description. We will try our best to accomodate it!
Steps to reproduce
Tell us about your environment:
1.17.0
macOS 10.14.4
http://bennadel.github.io/JavaScript-Demos/demos/selection-range-rects/
12.4.0
What steps will reproduce the problem?
Please include code that reproduces the issue.
What is the expected result?
Should like normal browser, double click on text should highlight the word.
What happens instead?
No selection highlight happened on word, and the text selection is collapsed.
The text was updated successfully, but these errors were encountered: