write_textfield with clear=True cause problem with MAC OS

Bug #1265996 reported by adam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
selenium-simple-test
New
Undecided
Unassigned

Bug Description

In actions.py, on line 556, key combination of 'control+a' is used to select all letters in the field and use delete key to empty it. But this cannot work on MAC OS since MAC OS use 'cmd+a' as the select all combination. And since it requires 'cmd+a', 'control+1' on MAC OS will generate an unwanted 'a' which cause problem. Furthermore, I tried to use "textfield.send_keys(keys.Keys().COMMAND, 'a')" with Safari on MAC OS. But it seemed this is not working, you also got an unwanted 'a' in front.

adam (jun-gao)
summary: - write_textfield with clear=True cannot work with MAC OS
+ write_textfield with clear=True cause problem with MAC OS
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.