Created
December 7, 2020 16:29
-
-
Save cajun-code/89d4d6b8ce2d76696d33d67cd2a83b93 to your computer and use it in GitHub Desktop.
Appium hooks for cucumber
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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