mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
117a128b42
This patch introduces Page.$ and Page.$$ methods which are aliases for `document.querySelector` and `document.querySelectorAll`. Fixes #78.
15 lines
299 B
HTML
15 lines
299 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Playground</title>
|
|
</head>
|
|
<body>
|
|
<button>A button</button>
|
|
<textarea>A text area</textarea>
|
|
<div id="first">First div</div>
|
|
<div id="second">
|
|
Second div
|
|
<span class="inner">Inner span</span>
|
|
</div>
|
|
</body>
|
|
</html> |