Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
没有足够的方法来做到这一点,但如果您知道目录格式(a4/a3/a2)和目录中的字母高度,您可以计算您想要的任何超链接的像素位置并单击它 page.mouse.click(x, y[, options])
page.mouse.click(x, y[, options])
通过<a>添加以下 css 来支持它:
<a>
@media print { a::after{ content: " (" attr(href) ") "; } }