Prototype: Make automatic unit testing work smoother on non-english versions of Windows
This commit is contained in:
parent
4506db2df2
commit
296cada736
|
@ -2,7 +2,7 @@
|
|||
|
||||
* Fix issues with Selector an+b logic, :not support, attribute selector double quotes, plus performance improvements. Closes #7873, #7901. [Andrew Dupont]
|
||||
|
||||
* Fix an issue with Element.getDimensions with some element types on non IE-browsers. Closes #7683. [Andrew Dupont]
|
||||
* Fix an issue with Element.getDimensions with some element types on non-IE browsers. Closes #7683. [Andrew Dupont]
|
||||
|
||||
* Fix Form.disable to work again on non-form elements. Closes #6887. [Mislav Marohnić]
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ class Browser
|
|||
end
|
||||
|
||||
class FirefoxBrowser < Browser
|
||||
def initialize(path='c:\Program Files\Mozilla Firefox\firefox.exe')
|
||||
def initialize(path=File.join(ENV['ProgramFiles'] || 'c:\Program Files', '\Mozilla Firefox\firefox.exe'))
|
||||
@path = path
|
||||
end
|
||||
|
||||
|
@ -70,7 +70,7 @@ class SafariBrowser < Browser
|
|||
end
|
||||
|
||||
class IEBrowser < Browser
|
||||
def initialize(path='C:\Program Files\Internet Explorer\IEXPLORE.EXE')
|
||||
def initialize(path=File.join(ENV['ProgramFiles'] || 'c:\Program Files', '\Internet Explorer\IEXPLORE.EXE'))
|
||||
@path = path
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue