UNPKG
remix-ide
Version:
latest (0.10.3)
0.10.3
0.10.2
0.10.1
0.10.0
0.9.4
0.9.3
0.9.2
0.9.1
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.8.0-alpha
0.7.7
0.7.6
0.7.5
0.7.5-local
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.4
0.6.3
0.6.2
0.6.1-alpha.4
0.6.1-alpha.3
0.5.2
0.5.2-alpha.9
0.5.2-alpha.8
0.5.2-alpha.7
0.5.2-alpha.6
0.5.2-alpha.5
0.5.2-alpha.4
0.5.2-alpha.3
0.5.2-alpha.2
0.5.2-alpha.1
0.5.1
0.5.0
Extendable Web IDE for Ethereum
github.com/ethereum/remix-ide
ethereum/remix-ide
remix-ide
/
test-browser
/
commands
/
scrollAndClick.js
16 lines
(13 loc)
•
272 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
const
EventEmitter = require(
'events'
)
class
scrollAndClick
extends
EventEmitter
{ command (target) {
this
.api .scrollInto(target) .click(target) .perform(() => {
this
.emit(
'complete'
) })
return
this
} } module.exports = scrollAndClick