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'");
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