Issue 5237 in selenium: Click in firefox times out when clicking inside a frame

4 views
Skip to first unread message

sele...@googlecode.com

unread,
Feb 26, 2013, 6:58:52 AM2/26/13
to selenium-develope...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Status-Untriaged

New issue 5237 by stan.wozniak: Click in firefox times out when clicking
inside a frame
http://code.google.com/p/selenium/issues/detail?id=5237

Selenium version: 2.30.0
OS: Windows 7
Browser: Firefox
Browser version: 17, 18 and 19

Script to reproduce error in ruby attached along with a test page. This
also fails in .NET bindings

Stack trace:
C:/opscode/chef/embedded/lib/ruby/1.9.1/net/protocol.rb:146:in `rescue in
rbuf_fill': Timeout::Error (Timeout::Error)
from C:/opscode/chef/embedded/lib/ruby/1.9.1/net/protocol.rb:140:in
`rbuf_fill'
from C:/opscode/chef/embedded/lib/ruby/1.9.1/net/protocol.rb:122:in
`readuntil'
from C:/opscode/chef/embedded/lib/ruby/1.9.1/net/protocol.rb:132:in
`readline'
from C:/opscode/chef/embedded/lib/ruby/1.9.1/net/http.rb:2562:in
`read_status_line'
from C:/opscode/chef/embedded/lib/ruby/1.9.1/net/http.rb:2551:in `read_new'
from C:/opscode/chef/embedded/lib/ruby/1.9.1/net/http.rb:1319:in `block in
transport_request'
from C:/opscode/chef/embedded/lib/ruby/1.9.1/net/http.rb:1316:in `catch'
from C:/opscode/chef/embedded/lib/ruby/1.9.1/net/http.rb:1316:in
`transport_request'
from C:/opscode/chef/embedded/lib/ruby/1.9.1/net/http.rb:1293:in `request'
from C:/opscode/chef/embedded/lib/ruby/1.9.1/net/http.rb:1286:in `block in
request'
from C:/opscode/chef/embedded/lib/ruby/1.9.1/net/http.rb:745:in `start'
from C:/opscode/chef/embedded/lib/ruby/1.9.1/net/http.rb:1284:in `request'
from
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.30.0/lib/selenium/webdriver/remote/http/default.rb:83:in
`response_for'
from
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.30.0/lib/selenium/webdriver/remote/http/default.rb:39:in
`request'
from
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.30.0/lib/selenium/webdriver/remote/http/common.rb:40:in
`call'
from
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.30.0/lib/selenium/webdriver/remote/bridge.rb:615:in
`raw_execute'
from
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.30.0/lib/selenium/webdriver/remote/bridge.rb:593:in
`execute'
from
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.30.0/lib/selenium/webdriver/remote/bridge.rb:358:in
`clickElement'
from
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.30.0/lib/selenium/webdriver/common/element.rb:54:in
`click'
from ReproFirefoxBug.rb:29:in `<main>'

Attachments:
FirefoxIssue.zip 1.5 KB

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

sele...@googlecode.com

unread,
Feb 26, 2013, 3:18:56 PM2/26/13
to selenium-develope...@googlegroups.com
Updates:
Labels: Browser-Firefox

Comment #1 on issue 5237 by barancev: Click in firefox times out when
(No comment was entered for this change.)

sele...@googlecode.com

unread,
Feb 28, 2013, 5:13:37 PM2/28/13
to selenium-develope...@googlegroups.com

Comment #2 on issue 5237 by barancev: Click in firefox times out when
1) I've added implicit wait:
ff.manage.timeouts.implicit_wait = 10

2) Can't reproduce, the attached sample works w/o errors (gem webdriver
2.30, FF19, Win7)

sele...@googlecode.com

unread,
Mar 1, 2013, 3:36:42 AM3/1/13
to selenium-develope...@googlegroups.com

Comment #3 on issue 5237 by stan.wozniak: Click in firefox times out when
I tried with implicit wait and makes no difference for me.

ruby 1.9.3p0 (2011-10-30) [i386-mingw32]

RubyGems Environment:
- RUBYGEMS VERSION: 1.8.11
- RUBY VERSION: 1.9.3 (2011-10-30 patchlevel 0) [i386-mingw32]
- INSTALLATION DIRECTORY: c:/Ruby193/lib/ruby/gems/1.9.1
- RUBY EXECUTABLE: c:/Ruby193/bin/ruby.exe
- EXECUTABLE DIRECTORY: c:/Ruby193/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-mingw32
- GEM PATHS:
- c:/Ruby193/lib/ruby/gems/1.9.1
- K:/.gem/ruby/1.9.1
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- "gem" => "--no-ri --no-rdoc -p
http://MAproxy.europe.easyjet.local:8080"
- REMOTE SOURCES:
- http://rubygems.org/

selenium-webdriver (2.30.0)

sele...@googlecode.com

unread,
Mar 1, 2013, 3:40:12 AM3/1/13
to selenium-develope...@googlegroups.com
Updates:
Cc: jari.bakken
Labels: Lang-Ruby

Comment #4 on issue 5237 by barancev: Click in firefox times out when
(No comment was entered for this change.)

sele...@googlecode.com

unread,
Apr 8, 2013, 4:33:45 PM4/8/13
to selenium-develope...@googlegroups.com
Updates:
Status: Accepted

Comment #5 on issue 5237 by jari.bakken: Click in firefox times out when
I managed to reproduce this, looks like the extension is crashing - the
error console has the following message:

Timestamp: 08.04.13 22:32:04
Error: TypeError: can't access dead object
Source File: chrome://browser/content/tabbrowser.xml
Line: 388

sele...@googlecode.com

unread,
Apr 8, 2013, 4:35:26 PM4/8/13
to selenium-develope...@googlegroups.com
Updates:
Labels: -Lang-Ruby

Comment #6 on issue 5237 by jari.bakken: Click in firefox times out when
Removing the Ruby label since it's OP says it's also an issue in .NET (and
likely all bindings).

sele...@googlecode.com

unread,
Apr 8, 2013, 7:27:01 PM4/8/13
to selenium-develope...@googlegroups.com
Updates:
Status: Started

Comment #7 on issue 5237 by jari.bakken: Click in firefox times out when
I've tracked down the exception and added a fix on a branch (revision
299ec6181035), but we should have a proper isolated test case. May be as
simple as submitting a form from a frame.

sele...@googlecode.com

unread,
Apr 9, 2013, 9:48:55 AM4/9/13
to selenium-develope...@googlegroups.com

Comment #8 on issue 5237 by jari.bakken: Click in firefox times out when
This script has a smaller reproduction of the problem

https://gist.github.com/jarib/5345800

sele...@googlecode.com

unread,
Apr 9, 2013, 9:54:55 AM4/9/13
to selenium-develope...@googlegroups.com

Comment #9 on issue 5237 by jari.bakken: Click in firefox times out when
clicking inside a frame
http://code.google.com/p/selenium/issues/detail?id=5237

This script has a smaller reproduction of the problem:

https://gist.github.com/jarib/5345800

The issue occurs when a click handler inside an iframe changes
window.top.location.

sele...@googlecode.com

unread,
Apr 23, 2013, 9:00:46 AM4/23/13
to selenium-develope...@googlegroups.com
Updates:
Status: Fixed

Comment #10 on issue 5237 by jari.bakken: Click in firefox times out when
This issue was closed by revision ec4085f93aad.

sele...@googlecode.com

unread,
Apr 23, 2013, 9:01:56 AM4/23/13
to selenium-develope...@googlegroups.com

Comment #11 on issue 5237 by jari.bakken: Click in firefox times out when
Test was added in revision b99f8a7cc731f9447bcf002f1182dff2a683f1c6

sele...@googlecode.com

unread,
May 22, 2013, 10:20:27 AM5/22/13
to selenium-develope...@googlegroups.com

Comment #12 on issue 5237 by stan.wozniak: Click in firefox times out when
Hi,

I have ran https://gist.github.com/jarib/5345800 and the problem is still
there with the latest GEM 2.32.1

sele...@googlecode.com

unread,
May 24, 2013, 12:42:35 PM5/24/13
to selenium-develope...@googlegroups.com

Comment #13 on issue 5237 by james.h....@gmail.com: Click in firefox times
Can you try again with 2.33? The fix for this issue in the Firefox driver
wasn't added until after 2.32 was released.
Reply all
Reply to author
Forward
0 new messages