Skip to content
This repository was archived by the owner on Nov 29, 2018. It is now read-only.
This repository was archived by the owner on Nov 29, 2018. It is now read-only.

Selenium don't initialized if 127.0.0.1 have more then one alias in hosts file #3280

@lukeis

Description

@lukeis

Originally reported on Google Code with ID 3280

What steps will reproduce the problem?
1. write more then one alias for 127.0.0.1, (ex. www.100myr.com) in hosts file in c:\windows\system32\drivers\etc\
2. try to initialize selenium driver (ex. driver = new FirefoxDriver();)

What is the expected output? What do you see instead?
I see next error
org.openqa.selenium.UnsupportedCommandException: Bad request

Command duration or timeout: 1.08 seconds
Build info: version: '2.17.0', revision: '15546', time: '2012-01-16 17:11:34'
System info: os.name: 'Windows XP', os.arch: 'x86', os.version: '5.1', java.version:
'1.7.0'
Driver info: driver.version: FirefoxDriver

Selenium version: 2.17.0
OS: Windows XP
Browser: Firefox 
Browser version: 9.0.1

If I have only one alias for 127.0.0.1 then I haven't error.

Reported by Sergewar on 2012-01-26 06:43:49

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions