SeleniumHQ / selenium-google-code-issue-archive

Archive, please see main selenium repo
https://github.com/seleniumhq/selenium
346 stars 194 forks source link

Open command allways add referer #1731

Closed lukeis closed 8 years ago

lukeis commented 8 years ago

Originally reported on Google Code with ID 1731

Selenium IDE 1.0.12-SNAPSHOT
http://xserve.openqa.org:8085/browse/IDE-IDE-97
FireFox 4.0.1
Windows7

PHP script http://poligon.farpost.com/v2/referer.php shows referer from headers.

When I past "http://poligon.farpost.com/v2/referer.php" to location bar in browser
and press Enter where is no referer. This is right.

But if I use "open" in Selenium IDE:
<tr>
    <td>open</td>
    <td>http://poligon.farpost.com/v2/referer.php</td>
    <td></td>
</tr>
The refer is "http://poligon.farpost.com/v2/referer.php".

This is wrong! Selenium should not add referer if open command's param is string, and
must add referer if param locator (link=Go home).

This behavior breaks all my tests. In Selenium IDE 1.0.11 and even in Selenium IDE
1.0.12-SNAPSHOT build 82 all my tests work fine.

Can you fix this?

Reported by dmiFedorenko on 2011-05-31 05:00:54

lukeis commented 8 years ago

Reported by simon.m.stewart on 2011-05-31 14:47:07

lukeis commented 8 years ago
Any news on this bug?

Reported by dmiFedorenko on 2011-07-07 00:54:22

lukeis commented 8 years ago
Selenium never just pastes a URL into the location bar as it needs to start up and prepare
some pages. As such, it's extremely unlikely that the referrer field will be empty,
and even more unlikely that this will happen in a cross-browser way.

Marking as WontFix as there's no rationale, consistent fix that can be applied.

Reported by simon.m.stewart on 2011-07-07 09:54:04

lukeis commented 8 years ago

Reported by luke.semerau on 2015-09-17 18:12:53