Skip to content

Instantly share code, notes, and snippets.

@cajun-code
Created December 7, 2020 16:29
Show Gist options
  • Save cajun-code/89d4d6b8ce2d76696d33d67cd2a83b93 to your computer and use it in GitHub Desktop.
Save cajun-code/89d4d6b8ce2d76696d33d67cd2a83b93 to your computer and use it in GitHub Desktop.
Appium hooks for cucumber
AfterConfiguration do |config|
pid = spawn ‘appium --address 0.0.0.0 --port 4723
Process.detach(pid)
sleep(10)
end
at_exit do
exec /usr/bin/killall -KILL node’
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment