UNPKG

siesta-lite

Version:

Stress-free JavaScript unit testing and functional testing tool, works in NodeJS and browsers

42 lines (28 loc) 1.05 kB
/* Siesta 5.6.1 Copyright(c) 2009-2022 Bryntum AB https://bryntum.com/contact https://bryntum.com/products/siesta/license */ Role('Siesta.Launcher.CommandLineTool.WebDriverRhinoTool', { does : [ Siesta.Launcher.CommandLineTool.WebDriverGenericTool ], methods : { setChromeDriverServerPath : function () { java.lang.System.setProperty("webdriver.chrome.driver", this.getChromeDriverServerPath(true)) }, setGeckoDriverServerPath : function () { java.lang.System.setProperty("webdriver.gecko.driver", this.getGeckoDriverServerPath(true)) }, setIEDriverServerPath : function () { if (!this.isWindows) return java.lang.System.setProperty("webdriver.ie.driver", this.getIEDriverServerPath(true)) }, setEdgeDriverServerPath : function () { if (!this.isWindows) return java.lang.System.setProperty("webdriver.edge.driver", this.getEdgeDriverServerPath(true)) } } // eof methods })