RE: Trying to add $100-$250 agter locating the element using sendKeys? value is not getting added. how to add $100-$250

driver.findElement(“budget”)).sendKeys(“$251-$500”);\Value is not getting added How to Add above value?

Apoorvabhat Default Asked on November 17, 2014 in Selenium WebDriver.

Selenium always have issues with Special character with SendKeys, I suggest you to look for another way with Robot Class or any thing.

on November 18, 2014.
Add Comment
2 Answers

Because $ is special char. Please put slash before it

Train Answered on November 17, 2014.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.