Issue 7723 in selenium: invalid element state: Element is not currently interactable and may not be manipulated

8,960 views
Skip to first unread message

sele...@googlecode.com

unread,
Aug 7, 2014, 4:15:24 AM8/7/14
to selenium-develope...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Status-Untriaged

New issue 7723 by kais.zw...@lunabee.com: invalid element state: Element is
not currently interactable and may not be manipulated
http://code.google.com/p/selenium/issues/detail?id=7723

I have this issue with selenium i can not find i textinput : it alwayes
rases this exeception: Element is not currently interactable and may not be
manipulated

in this ligne : Driver.FindElement(By.Id("ctl00")).Clear();

i try to put waiting like this:

Waiting.Until(driver =>(By.Id("ctl00"))); and
Waiting.Until(ExpectedConditions.ElementExists(By.Id("ctl00"))); but no
luck thanks

Kais

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

sele...@googlecode.com

unread,
Aug 7, 2014, 1:00:12 PM8/7/14
to selenium-develope...@googlegroups.com
Updates:
Status: NeedsClarification

Comment #1 on issue 7723 by jmle...@gmail.com: invalid element state:
Element is not currently interactable and may not be manipulated
http://code.google.com/p/selenium/issues/detail?id=7723

Selenium is finding the element - it's the Clear() command that's failing
due to the element being in an invalid state (e.g. <input readonly>).

Can't say more without a reproducible test case with HTML, CSS, and JS for
the relevant site.

sele...@googlecode.com

unread,
Aug 19, 2014, 2:49:27 AM8/19/14
to selenium-develope...@googlegroups.com

Comment #2 on issue 7723 by cyril.dr...@gmail.com: invalid element state:
Element is not currently interactable and may not be manipulated
http://code.google.com/p/selenium/issues/detail?id=7723

We are also facing with this issue. In our case it happens from time to
time and very dificult to debug it. One more comment: this issue occures in
Jenkins. We use Selenium WebDriver 2.24.2 + Selenium GRID 2.24.2.

sele...@googlecode.com

unread,
Sep 14, 2014, 10:48:15 PM9/14/14
to selenium-develope...@googlegroups.com
Updates:
Status: Invalid

Comment #3 on issue 7723 by barancev: invalid element state: Element is not
currently interactable and may not be manipulated
https://code.google.com/p/selenium/issues/detail?id=7723

Closing the issue as there is no reproduction case provided.

sele...@googlecode.com

unread,
Sep 29, 2014, 11:44:58 AM9/29/14
to selenium-develope...@googlegroups.com

Comment #4 on issue 7723 by adriana....@gmail.com: invalid element state:
Element is not currently interactable and may not be manipulated
https://code.google.com/p/selenium/issues/detail?id=7723

I am doing the following:
WebElement element = d().findElement( By.id("billing:city"));
element.clear();
element.sendKeys(city);
element.sendKeys(Keys.TAB);

in line: element.clear()

org.openqa.selenium.InvalidElementStateException: invalid element state:
Element is not currently interactable and may not be manipulated.

(Session info: chrome=37.0.2062.124)
(Driver info: chromedriver=2.9.248315,platform=Windows NT 6.1 SP1 x86_64)

sele...@googlecode.com

unread,
Oct 21, 2014, 5:06:10 AM10/21/14
to selenium-develope...@googlegroups.com

Comment #5 on issue 7723 by kristian...@gmail.com: invalid element state:
Element is not currently interactable and may not be manipulated
https://code.google.com/p/selenium/issues/detail?id=7723

I have had this message from a input type text in chrome when
isDisplayed=false, which is basically due to some earlier part of the test
not working.

sele...@googlecode.com

unread,
Dec 3, 2014, 7:39:27 AM12/3/14
to selenium-develope...@googlegroups.com

Comment #6 on issue 7723 by Zid...@gmail.com: invalid element state:
Element is not currently interactable and may not be manipulated
https://code.google.com/p/selenium/issues/detail?id=7723

I have the same issue in the element.clear(), same as well Adriana. When I
use the Firefox Driver, this problem dont't occur. When I debugg step by
step.....neither occur. The problem is peculiar, but I dont find de bug.
This case in Firefox occur but my slution was put on in my code
ImplicityWait, but in Chrome this dont work.

(Session info: chrome=39.0.2171.65)
(Driver info: chromedriver=2.9.248315,platform=Windows NT 6.1 SP1 x86_64)
(WARNING: The server did not provide any stacktrace information)

sele...@googlecode.com

unread,
Dec 3, 2014, 7:56:44 AM12/3/14
to selenium-develope...@googlegroups.com

Comment #7 on issue 7723 by Zid...@gmail.com: invalid element state:
Element is not currently interactable and may not be manipulated
https://code.google.com/p/selenium/issues/detail?id=7723

I found the problem, but I don´t now how fix it.
The problem is element.clear() but in some cases, because in other runs
smoothly.

My test was comment the line and test runs whitout problems, but in this
point my problem is a very big, because my test is multi browser then in
the some browsers runs whitout problem and the other with problem.

I am very stressed with this problem, because don't found the solution to
multibrowser.

Any comments? or any suggestions??

sele...@googlecode.com

unread,
Mar 3, 2015, 4:33:33 AM3/3/15
to selenium-develope...@googlegroups.com

Comment #8 on issue 7723 by lavanya....@gmail.com: invalid element state:
Element is not currently interactable and may not be manipulated
https://code.google.com/p/selenium/issues/detail?id=7723

I have the same issue with selenium i can not find i textinput : it alwayes
rases this exeception: Element is not currently interactable and may not be
manipulated


or Element is not currently visible and so may not be interacted with
Command duration or timeout: 60.04 seconds

sele...@googlecode.com

unread,
Mar 3, 2015, 4:35:32 AM3/3/15
to selenium-develope...@googlegroups.com

Comment #9 on issue 7723 by lavanya....@gmail.com: invalid element state:
Element is not currently interactable and may not be manipulated
https://code.google.com/p/selenium/issues/detail?id=7723

I have the same issue with selenium i can not find i textinput : it alwayes
rases this exeception: Element is not currently interactable and may not be
manipulated


or Element is not currently visible and so may not be interacted with
Command duration or timeout: 60.04 seconds

can any body help me pls.......

sele...@googlecode.com

unread,
Apr 2, 2015, 2:53:39 AM4/2/15
to selenium-develope...@googlegroups.com

Comment #10 on issue 7723 by ttek...@gmail.com: invalid element state:
Element is not currently interactable and may not be manipulated
https://code.google.com/p/selenium/issues/detail?id=7723

In my case the problem was caused by element.clear() when used with chrome
browser.

sele...@googlecode.com

unread,
Apr 16, 2015, 4:57:33 PM4/16/15
to selenium-develope...@googlegroups.com

Comment #11 on issue 7723 by niesch...@gmail.com: invalid element state:
Element is not currently interactable and may not be manipulated
https://code.google.com/p/selenium/issues/detail?id=7723

I have the same issue, my code:
WebDriverWait pageWait = new WebDriverWait(driver, 30);
pageWait.until(ExpectedConditions.presenceOfElementLocated(someLocator));
driver.findElement(by).clear();
driver.findElement(by).sendKeys(keys);

Exception in the third line, this input element is present on the page
before I do clear().

Please let me know what may cause the issue, thanks!

sele...@googlecode.com

unread,
Apr 16, 2015, 4:58:35 PM4/16/15
to selenium-develope...@googlegroups.com

Comment #12 on issue 7723 by niesch...@gmail.com: invalid element state:
Element is not currently interactable and may not be manipulated
https://code.google.com/p/selenium/issues/detail?id=7723

I have the same issue, my code:
WebDriverWait pageWait = new WebDriverWait(driver, 30);
pageWait.until(ExpectedConditions.presenceOfElementLocated(someLocator));
driver.findElement(someLocator).clear();
driver.findElement(someLocator).sendKeys(keys);

sele...@googlecode.com

unread,
Aug 27, 2015, 4:55:10 PM8/27/15
to selenium-develope...@googlegroups.com

Comment #13 on issue 7723 by at...@star2star.com: invalid element state:
Element is not currently interactable and may not be manipulated
https://code.google.com/p/selenium/issues/detail?id=7723

Issue is still present, although sporadic - occurs maybe 1 out of 10 times.
I’m using Selenium 2.47.1 (python).

In setup class:
cls.user_login = 'some...@somedomain.com'
cls.user_password = 'somepassword'
cls.user_box = driver.find_element_by_id('username')
cls.password_box = driver.find_element_by_id('password')
cls.login_button = driver.find_element_by_id('loginButton')

Test case:

@data( some data set )
@unpack
def test_invalid_login(self, username, password, msg):
self.user_box.clear()
self.user_box.send_keys(username)
self.password_box.clear()
self.password_box.send_keys(password)
self.login_button.click()
self.assertEqual(msg, self.element_loaded_return(10, By.CSS_SELECTOR,
'div[id="loginErrorMessage"] > span').text)

Error:
selenium.common.exceptions.InvalidElementStateException: Message: invalid
element state: Element is not currently interactable and may not be
manipulated
(Session info: chrome=44.0.2403.157)
(Driver info: chromedriver=2.18.343845
(73dd713ba7fbfb73cbb514e62641d8c96a94682a),platform=Windows NT 6.1 SP1 x86
Reply all
Reply to author
Forward
0 new messages