diff options
author | Benoit Foucher <benoit@zeroc.com> | 2017-01-11 11:28:47 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2017-01-11 11:28:47 +0100 |
commit | 2bade6ecdfb9c3a64e3cfcb4da095615a2b6740a (patch) | |
tree | c2b8a5c652e9ed20ce518180a02d9daa4f5eb86f /scripts/Util.py | |
parent | Fixed ICE-7470 - Don't define registerIceBT on OS X/Windows (diff) | |
download | ice-2bade6ecdfb9c3a64e3cfcb4da095615a2b6740a.tar.bz2 ice-2bade6ecdfb9c3a64e3cfcb4da095615a2b6740a.tar.xz ice-2bade6ecdfb9c3a64e3cfcb4da095615a2b6740a.zip |
Removed workaroud for running Safari with jenkins
Diffstat (limited to 'scripts/Util.py')
-rw-r--r-- | scripts/Util.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/scripts/Util.py b/scripts/Util.py index 68b55e76da7..bc3ee61b9da 100644 --- a/scripts/Util.py +++ b/scripts/Util.py @@ -2068,18 +2068,6 @@ class BrowserProcessController(RemoteProcessController): profile = webdriver.FirefoxProfile(os.path.join(toplevel, "scripts", "selenium", "firefox")) self.driver = webdriver.Firefox(firefox_profile=profile) - elif current.config.browser == "Safari" and os.environ.get("USER", "") == "jenkins": - # - # When running with Jenkins in headless mode, we need to manually start the webdriver - # to fill in the requested password. - # - import pexpect - self.safariDriver = pexpect.spawn("/usr/bin/safaridriver", ["-p", "9987"]) - self.safariDriver.expect("Password:") - self.safariDriver.sendline("jenkins") - self.safariDriver.expect("\n") - time.sleep(1) - self.driver = webdriver.Remote("http://localhost:9987", webdriver.DesiredCapabilities.SAFARI) else: self.driver = getattr(webdriver, current.config.browser)() |