javascript - Selenium WebDriver, get from DOM, from empty value -


i have field, after few minutes filled. far good. when filled, in inspect elements it's like:

<div class="column1 last">               <input type="text" name="usedfile" size="100" value="" readonly="readonly" style="width:99%" class="disabled">             </div> 

so, in front-page, text visible: "some text", when click inspect element, it's show above. how, can text filed? it's dom this?

this textbox cannot use gettext() in it. data out of , need following code

string text = driver.findelement(by.name("usedfile")).getattribute("value"); 

Comments

Popular posts from this blog

How to provide Authorization & Authentication using Asp.net, C#? -

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

How to use Authorization & Authentication in Asp.net, C#? -