preetirc
preetirc

Reputation: 19

Protractor Failed: element(...).sendkeys is not a function

Protractor Failed: element(...).sendkeys is not a function isPresent method on the same input element returns true but not the sendkeys

I get this error when I run my conf.js

protractor Version 5.2.2

node v8.9.4

Selenium build info: version: '3.8.1', revision: '6e95a6684b'

Chrome Version 63.0.3239.132 (Official Build) (64-bit)

Thank you for any help in advance

Upvotes: 0

Views: 6054

Answers (1)

Xotabu4
Xotabu4

Reputation: 3091

use

element(by.css('div')).sendKeys('somekeys')

with capitalized K instead of

element(by.css('div')).sendkeys('somekeys')

Upvotes: 6

Related Questions