Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AutoCodeStack/ios-device-farm
/ homeButtonClick
Function
homeButtonClick
public/static/js/events/button.events.js:1–5 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1
function
homeButtonClick() {
2
if
(socket) {
3
socket.emit(
"command"
, { udid: device.udid, cmd:
"homescreen"
});
4
}
5
}
6
7
function
takeScreenshot() {
8
if
(socket) {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected