Firefox focus on address bar instead of active element

314 views
Skip to first unread message

piotr.re...@gmail.com

unread,
Jun 18, 2013, 6:38:18 PM6/18/13
to seleniu...@googlegroups.com
Hi,

I searched for simmilar problem here but I have found nothing.

So here it my problem:

I want to test ext js validation messages (they appear when field lose focus). I have a field that has auto focus (name for this field: "lul"). When I click on this field (through web driver) cursor doesn't appear on this field instead address bar get focus and cursor as well. On chrome everything looks fine.

Moreover when I call activeElement and check field name I get "lul" which is true but I don't get why this field has no cursor inside.

Same problem with "http://google.com" site query field doesn't get focus (cursor is on addres bar).

I tried with native event enabled and disabled.

I use selenium-server-standalone-2.33.0.jar on arch linux under xfce 4.10. I don't use ff profile, my ff version is 21.0

Best regards,
piotrr

piotr.re...@gmail.com

unread,
Jun 20, 2013, 5:16:17 PM6/20/13
to seleniu...@googlegroups.com
Some updates about my investigation.

1. For me problem occures in FF 21 and 20.

2. Problem doesn't exist in Opera (and Chrome as I wrote before).

3. When I send string to an active element it will appear in address bar not on page. It should appear on input element that gets focus through js.

4. The problem exists for PHP and Python using RemoteDriver. So it's not related with PHP.

5. Problem doesn't exist for Selenium RC but this could be expected.

I'll try to check under ubuntu because maybe window manager or operating system matter.

Best regards,
piotrr
Reply all
Reply to author
Forward
0 new messages