Hi i am trying to type text in a div
Code
<div id="tweet-box-mini-home-profile" class="tweet-box rich-editor notie" contenteditable="true" aria-multiline="true" role="textbox" spellcheck="true" aria-labelledby="tweet-box-mini-home-profile-label" dir="ltr" aria-autocomplete="list" aria-expanded="false" aria-controls="typeahead-dropdown-4"></div>
I have tried to use this
Code
$tags = $oIE.document.GetElementsByTagName("div")For $tag in $tags$class_value = $tag.GetAttribute("class")If string($class_value) = "tweet-box rich-editor notie" Then _IEFormElementSetValue ($tag,"sometext")
ExitLoop
EndIfNext
but it didn't work could somebody help me please