|
Post by leiwang on Oct 16, 2015 7:28:50 GMT
For example, if you call something like SeleniumPlus.TypeChars("this is a combined-word"); and SeleniumPlus will very probably input a "0" into an editable component. The parameter "this is a combined-word" has been evaluated to "0"! SeleniumPlus has the ability to evaluate expressions including "arithmetic expression", "SAFS variable expression" etc. and by default it is turned on. This ability is very useful but it will cause some unexpected error like above. For details, please refer to NOTE 1: Auto-evaluated expression addressed in safsdev.github.io/doc/org/safs/selenium/webdriver/SeleniumPlus.htmlHere I list a way to avoid this problem, it is to turn off the Expression, so calling as Misc.Expressions(false); SeleniumPlus.TypeChars("this is a combined-word"); if we want this ability back, we can always call Misc.Expressions(true);
|
|