Unplanned
Last Updated: 24 Oct 2024 07:36 by Jun
Jun
Created on: 24 Oct 2024 07:36
Type: Bug Report
0
Key combinations Shift+End and Shift+Home don't work for headless and extensionless browser modes

Steps to reproduce: 

  1. Use Chrome without extension, or headless mode.
  2. Use the press key combinations Shift+End and Shift+Home in a coded step and be sure to set focus to a text field. 
    ActiveBrowser.Desktop.KeyBoard.KeyPress(Keys.Shift | Keys.End);
    ActiveBrowser.Desktop.KeyBoard.KeyPress(Keys.Shift | Keys.Home);

Expected: The combination selects the text in the field

  • if the cursor is at the begining of the line use Shift+End;
  • if the cursor is at the end of the line use Shift+Home;

Actual: The cursor only moves without selecting the text. 

Workaround: Use the key combination Shift+A to select the text. 

0 comments