UNPKG
bowow
Version:
latest (0.8.10)
0.10.0
0.9.0
0.8.10
0.8.9
0.8.8
0.8.7
0.8.6
0.8.5
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.3
0.7.2
0.7.1
0.7.0
0.6.0
0.5.0
0.4.0
0.3.3
0.3.2
0.3.1
0.3.0
0.2.1
0.1.2
0.1.1
0.1.0
A micro browser automation tool
github.com/allain/bowow
allain/bowow
bowow
/
examples
/
bing.js
12 lines
(8 loc)
•
216 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
const
bowow =
require
(
'..'
)
bowow
(
async
$ => { $(
'https://bing.com'
) $(
'input[name=q]'
).
val
(
'testing'
) $(
'input[type=submit]'
).
click
() $(
'#b_results'
)
return
$(() =>
document
.
title
) }).
then
(
console
.
log
)