sendKeys() send negative values with '-' prefix

7 views
Skip to first unread message

rex bolexi

unread,
Jan 27, 2024, 12:40:48 PMJan 27
to selenide
Hi All,

When I used the sendKeys() on an input field to send random negative values, the
minus '-' prefix is always omitted. My application is Angular based, unfortunately 
no exception is produced since a value is sent to the input field. Has anyone encountered 
this before ?

cheers

Andrei Solntsev

unread,
Jan 28, 2024, 3:07:54 AMJan 28
to rex bolexi, selenide
Hi.
I think it's your application. It contains some JavaScript logic that removes the "-" prefix. 
Method "sendKeys" just types characters one-by-one.

Andrei Solntsev


сб, 27 янв. 2024 г. в 19:40, rex bolexi <bole...@gmail.com>:
--
You received this message because you are subscribed to the Google Groups "selenide" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenide+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenide/6a91dc55-46ea-45cf-af89-700983fb75a9n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages