You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using selenium webdriver version 2.45.1 and upload functionality is failing with error code "failure message="invalid code lengths set"><![CDATA[UnknownError: invalid code lengths set".
code snippet:
nemo.driver.setFileDetector(new remote.FileDetector());
var imgPath=path.join(__dirname,'..','test',img.jpg)
driver.element.sendKeys(imgPath);
Could someone suggest the fix? or workaround for this issue.
Make a note, issue occurs only while running in remote and local runs it's perfectly alright.