theintern / leadfoot

A JavaScript client library that brings cross-platform consistency to the Selenium WebDriver API.
Other
170 stars 24 forks source link

element.text(textValue) fails with Missing 'text' parameter failure on Firefox #144

Closed cuff-links closed 5 years ago

cuff-links commented 6 years ago

Failure Environment: Leadfoot 1.7.5 Browser: FF 59 Driver: Geckodriver 20 OS: Mac OSX High Sierra

[Stack Trace)(https://gist.github.com/silne30/f54cf35ddcafb51fc9d4a05b983d6f74)

Passed Environment Leadfoot 1.7.5 Browser: Chrome 65 Driver: Chromedriver 2.36

The same test passes on Chrome. Not using the Intern.

cuff-links commented 6 years ago

I did some digging. Geckodriver has updated to the current spec whereas Chromedriver hasn't. The parameter was previously called value but has now been changed to text. I will submit a PR with the fix. This is similar to #143 and will likely need a similar fix.

Please assign to me.

cuff-links commented 5 years ago

This has been fixed.