Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I am using below code to write text in textarea on a webpage. WebDriver driver=new FirefoxDriver(); driver.findElement(By.id("description")).sendkeys( "some value"); // This code write character by character. I tried same with JavascriptExecutor with below code for textbox(input tag) but it doesn't work for textarea. WebElement element=driver.findElement(By.id("description")); JavascriptExecutor js=(JavascriptExecutor)driver; js.executeScript("arguments[0].setAttribute('value',arguments[1]);",element,"some value); Please help me to write some text in textarea tag. That will be replacement of "sendKeys()". Thanks Sachin Ahuja |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Write to Webpage | Excel Programming | |||
In Excel 2000 can you write VBA code to pull data from a webpage? | Excel Programming | |||
In Excel 2000 can you write VBA code to pull data from a webpage? | Excel Programming | |||
How to retrieve and write data to a webpage | Excel Programming | |||
Macro to write to webpage & query results | Excel Programming |