Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added 1-second wait when initializing only the JTD server

  • Loading branch information...
commit 5ec331d02205cb6481356cbe4b6bd78f6004533b 1 parent c5b342d
@eromba authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 jtd-android-init.py
View
4 jtd-android-init.py
@@ -125,8 +125,12 @@ def AndroidBrowserIsCaptured():
else:
subprocess.Popen(["xterm", "-e", "java", "-jar", JTD_PATH, "--port", JTD_PORT])
print("JsTestDriver started")
+ if numArgs == 3:
+ print("Waiting 1 second for the server to start...")
+ time.sleep(1)
if numArgs == 3:
+ print("\nInitialization complete")
exit(0)
Please sign in to comment.
Something went wrong with that request. Please try again.