robotframework / OldSeleniumLibrary

Deprecated Selenium library for Robot Framework
Apache License 2.0
13 stars 3 forks source link

Document that keywords Element Should (Not) Be Visible do not work with Chrome in Windows #239

Closed spooning closed 9 years ago

spooning commented 9 years ago

Originally submitted to Google Code by @spooning on 7 May 2012

We discovered in our acceptance tests that the mentioned keywords fail in Windows, and in some cases inflict significant resource usage for the rest of the test run (CPU consumption of the server process jumps to ~100 after either of these keywords is run)

The keywords themselves do not seem to work even with older versions of selenium-server, so we are just going to document this behavior.

spooning commented 9 years ago

Originally submitted to Google Code by @pekkaklarck on 7 May 2012

The problem was actually caused by our test data that didn't work too well with Chrome on Windows. visibility.html file didn't contain content type information and for some reason that caused Chrome to hang. Not sure was the reason in our test infra (perhaps the test server sends conflicting content type) but adding the content type to the file fixed the problem. The visibility keywords started to work and tests executed much faster than earlier.