SeleniumHQ / selenium-ide

Open Source record and playback test automation for the web.
https://selenium.dev/selenium-ide/
Apache License 2.0
2.84k stars 769 forks source link

Selenium ide fails a command which works with selenium web driver java code #1579

Open nazimberiwale opened 1 year ago

nazimberiwale commented 1 year ago

Hi ,

I have added a command in selenium ide execute script ->document.querySelector("#textfield-13").text = 'abcd'. On running this command gives OK status however the field does not get updated. The exact same command works in java code as below ((JavascriptExecutor)driver) .executeScript("return document.querySelector(\"#textfield-13\").text = 'A026F667'");

Can someone please help

toddtarsi commented 1 year ago

@nazimberiwale - Ruh roh, did you ever get an idea here? Is it possible my executed script isn't working right or something?