|
|
@ -3469,7 +3469,7 @@ Status := Selenium_LoopToClickXpath(Xpath:=Xpath,NumOfLoops:=2,SleepLength:=1000
|
|
|
|
|
|
|
|
|
|
|
|
; disable spellcheck on input field using javascript so text doesn't get garbled
|
|
|
|
; disable spellcheck on input field using javascript so text doesn't get garbled
|
|
|
|
js = document.getElementById('textarea-post').setAttribute("spellcheck", "false");
|
|
|
|
js = document.getElementById('textarea-post').setAttribute("spellcheck", "false");
|
|
|
|
driver.executeScript(js) ;Executes a Javascript on the webpage, mostly used for buttons.
|
|
|
|
try driver.executeScript(js) ;Executes a Javascript on the webpage, mostly used for buttons.
|
|
|
|
|
|
|
|
|
|
|
|
; DevModeMsgBox(JSPostTitleAndBody)
|
|
|
|
; DevModeMsgBox(JSPostTitleAndBody)
|
|
|
|
; JsToExecute = document.querySelector("#textarea-post").text = "%JSPostTitleAndBody%";
|
|
|
|
; JsToExecute = document.querySelector("#textarea-post").text = "%JSPostTitleAndBody%";
|
|
|
|