0

I tried clicking on the field and typing values. Actually the field is getting clicked but its not typing values. I am working on protractor Selenium Java framework. Sharing below the code I used

  1. driver().contextClick(computationText); driver().type(computationText,addText);

  2. computationText.click(); computationText.sendKeys(addText);

here computationText is "//fast-monaco-editor[@id='computation']//div"

I tried even executeScript, but not sure how to use it in Selenium

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.