Not clicking hyperlink with long text
See original GitHub issueWhen i try to click an hyperlink with a long text nothing happens.
await page.waitForSelector('#ct01');
await page.click('#ct01');
Working:
<td><a id="ct01" href="javascript:window.open(URL,'RecoverPassword','width=700,height=450');">TEST</a></td>
Not Working:
<td><a id="ct01" href="javascript:window.open(URL,'RecoverPassword','width=700,height=450');">TTT - TTTTTTTTTT TTT TTTTTTTTT T TTTTTTTTTTTT TTTTTTTTTTT TTTTT</a></td>
- Puppeteer version: puppeteer@1.4.0
- Platform / OS version: Windows 7
- Node.js version: 9.10.1
Anybody knows why? And a possible solution to this?
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Common Hyperlink Problems - Suzanne S. Barnhill - Home
Hyperlinks aren't clickable · It isn't really a hyperlink. It may just be plain text with the Hyperlink character style applied. · You...
Read more >Customize the text for a hyperlink - Microsoft Support
Right-click anywhere on the link and, on the shortcut menu, click Edit Hyperlink. selecting 'Edit Hyperlink' from the shortcut menu · In the...
Read more >Links not clickable in iMessage app | Apple Developer Forums
Hi Team,. We are facing an issue with iMessage app on iOS versions greater than 10.2. Sometimes, URL links in received messages are...
Read more >Hyperlink Not Working In Word: How To Fix It In All Versions ...
Select the text you want to show as a hyperlink and right-click on it. You can also press CTRL+K. Type or paste the...
Read more >Able to click on a button/hyperlink only at the upper half of the ...
Please provide us a link or URL where we can check this issue, its seems that you are enable to click the the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ziadali1 this is fixed on tip-of-tree puppeteer; try installing
puppeteer@next
and usingpage.click
with this long link.Closing as dupe of #2798.
I can think of two ways, with an additional argument or with a template string:
or