-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60 from AliasBlue/master
Test script changes & fix of timeouts
- Loading branch information
Showing
18 changed files
with
1,256 additions
and
1,600 deletions.
There are no files selected for viewing
174 changes: 87 additions & 87 deletions
174
Skeleton3/html5/common/skel/source/class/skel/simulation/Util.py
Large diffs are not rendered by default.
Oops, something went wrong.
27 changes: 14 additions & 13 deletions
27
Skeleton3/html5/common/skel/source/class/skel/simulation/selectBrowser.py
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,21 @@ | ||
# Allow user to select web browser | ||
# Allow user to select web browser/timeout | ||
# Create global variables | ||
global browser | ||
global sleep | ||
|
||
# Allow user selection of global variable | ||
print("Please select a browser 1. Firefox 2. Google Chrome") | ||
global browser | ||
browser = int(input("Browser selection: ")) | ||
|
||
print("Timeouts? 1. Yes 2. No") | ||
sleep = int(input("Timeouts: ")) | ||
|
||
def _getBrowser(): | ||
return browser | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
def _getSleep(): | ||
if sleep == 1: | ||
timeout = 2 | ||
else: | ||
timeout = 0 | ||
return timeout |
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
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
Oops, something went wrong.