Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

fix: attached sessions getting timeout due to inactivity #1726

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions app/main/appium.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ function connectCreateNewSession () {
// get the session capabilities to prove things are working
await driver.sessionCapabilities();
event.sender.send('appium-new-session-ready');
if (host !== '127.0.0.1' && host !== 'localhost') {
handler.runKeepAliveLoop();
}
return;
}

Expand Down