Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8490855
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T22:14:50+00:00 2026-06-10T22:14:50+00:00

I am using Webdriver 2.25.0 and Firefox 14 I have the following textarea: <textarea

  • 0

I am using Webdriver 2.25.0 and Firefox 14

I have the following textarea:

<textarea id="source-text" placeholder="Start typing your text" style="resize: none; overflow: hidden;"></textarea>

I am identifying this text area in my HomePage object like this:

@FindBy(how = How.CSS, using = "div.myclass textarea")
public WebElement columnLeftTextarea;

What i want to do is simply type some text inside this textarea, by using the following code

homePage.columnLeftTextarea.sendKeys("some text");

This is returning the following error:

Type mismatch Can't assign non-array value to an array

The textarea is correctly defined as when i run

 homePage.columnLeftTextarea.getAttribute("placeholder")

i get the correct text

I even tried to do start the browser by setting the capabilities to tnable native events:

FirefoxProfile ffProfile = new FirefoxProfile(new File(generalPropertiesTestObject.getFirefox_profile_template_location()));
        ffProfile.setEnableNativeEvents(true);
        FirefoxDriver ffd = new FirefoxDriver(ffProfile);
        capabilities = ffd.getCapabilities();

But still i am getting the same error. Does anyone have any idea about it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T22:14:51+00:00Added an answer on June 10, 2026 at 10:14 pm

    Try firstly focusing into textarea. I did it using the following code:

     driver.findElement(By.id("source-text")).clear();
     driver.findElement(By.id("source-text")).sendKeys("some text");
    

    and it seems to work just fine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've set up a user agent using WebDriver and a FireFox Driver. I have
I have a script running watir-webdriver(using Firefox 4.0) that needs to access a web
I'm new on Watir-webdriver. I have tried running watir-webdriver using Firefox on http://bit.ly/watir-example I
I'm using selenium 2, webdriver.Firefox() , it's quite frustrating when you have to search
I'm using Firefox 13 and Watir-webdriver on windows via Ruby 1.9.2 and porting some
I have some tests created using Selenium WebDriver. When I run them using IE
I am doing the following in selenium 2/webdrive using python and firefox... I am
I'm using selenium webdriver, C#. Is it possible to make work webdriver with Firefox
I would like to set a text field with watir-webdriver using css selectors to
I am using selenium webdriver in python to drive Firefox automaticly, the python script

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.