in reply to Re^5: How To Simulate "Enter" Key Stroke using WWW::Selenium
in thread (SOLVED)How To Simulate "Enter" Key Stroke using WWW::Selenium

Hey... Thanks it worked this time with
$sel->key_press("q", "\\13"); # Decimal
Thanks for your assistance !!!
  • Comment on Re^6: How To Simulate "Enter" Key Stroke using WWW::Selenium

Replies are listed 'Best First'.
Re^7: How To Simulate "Enter" Key Stroke using WWW::Selenium
by ikegami (Patriarch) on Nov 13, 2009 at 20:53 UTC
    String literal "\\13" produces the 3 character string backslash-one-three. 13 must be the keycode for Enter.
      hmm should be clearer to write '\13' to avoid "escape confusion"...

      Cheers Rolf

        I escape my slashes in single quotes too. Lack of escapes is what distracts me.