# Robot Framework Browser: visible Angular input fails with "element is not enabled"

**URL:** <https://forum.robotframework.org/t/robot-framework-browser-visible-angular-input-fails-with-element-is-not-enabled/9660>\
**Category:** Robot Framework\
**Created:** [30 April 2026 08:19 UTC](https://forum.robotframework.org/t/robot-framework-browser-visible-angular-input-fails-with-element-is-not-enabled/9660 "2026-04-30T08:19:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ahmadsohailkhan](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/ahmadsohailkhan/32/5121_2.png) [@Ahmadsohailkhan](https://forum.robotframework.org/u/Ahmadsohailkhan)\
**Post date:** [30 April 2026 08:19 UTC](https://forum.robotframework.org/t/robot-framework-browser-visible-angular-input-fails-with-element-is-not-enabled/9660/1 "2026-04-30T08:19:26Z")

</div>

Hi,

I am testing an Angular application with custom form components.

I have a visible text input that a human user can type into, but Robot Framework Browser fails with `Fill Text` / `Type Text` and reports that the element is not enabled.

The locator points to a native `input` inside a custom Angular component.

What works at the moment is:

- `Fill Text <locator> <value> force=True`
- then `Press Keys <locator> Tab`

Without the `Tab`, Angular does not seem to process the value fully and dependent fields stay disabled.

My questions:

1. Why can a visible input still be treated as not enabled by Browser/Playwright?
2. For Angular custom form controls, is there a recommended interaction pattern?
3. Is `force=True` + `Tab` an acceptable workaround, or is there a better practice?

Thanks.

---

<div class="post-metadata">

**Author:** ![damies13](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/damies13/32/623_2.png) [@damies13](https://forum.robotframework.org/u/damies13)\
**Post date:** [30 April 2026 08:36 UTC](https://forum.robotframework.org/t/robot-framework-browser-visible-angular-input-fails-with-element-is-not-enabled/9660/2 "2026-04-30T08:36:08Z")

</div>

Hi Ahmad,

Welcome to the RF community,

Not sure if it’s you’re specific issue, but with Angular style apps I’ve seen in the past where the native `input` is inside a `div` or even several `div`’s and one of the parent elements is hidden until the user clicks on the parent locator (or tabs into it), so maybe this is what your encountering?

I usually get the script to click first then use fill text, then click somewhere outside the input (the label is a good place to click after) and then wrap that combination into a keyword called something like `fill angular text` that takes the argument of a locator that’s common or the label text

If this is what you’ve encountered:

> 1. Why can a visible input still be treated as not enabled by Browser/Playwright?

because if the input is in a hidden element it’s not actually enabled

> 1. For Angular custom form controls, is there a recommended interaction pattern?

I’m sure you’ll get several opinions / approaches (I gave mine) use which ever one works best for you.

> 1. Is `force=True` + `Tab` an acceptable workaround, or is there a better practice?

In test automation sometimes you have to do weird stuff to get the test to work reliably, we “shouldn’t need to” but devs also shouldn’t put native html elements in hidden `div`’s for a field that’s visible to the user, but they do, the best thing you can to is wrap the pattern in a nice keyword so the parent test case remains easy to read and understand

Hope that helps,

Dave.

---

<div class="post-metadata">

**Author:** ![apallier](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@apallier](https://forum.robotframework.org/u/apallier)\
**Post date:** [30 April 2026 09:51 UTC](https://forum.robotframework.org/t/robot-framework-browser-visible-angular-input-fails-with-element-is-not-enabled/9660/3 "2026-04-30T09:51:27Z")

</div>

Hi,

I had a similar issue with a Vite interface, if I remember correctly.

The problem was that a text box was disabled until it was fully visible on the screen. So, I had to add a “Scroll By” action to make the text box completely visible and enabled. Only then could I fill in the text.

Not very elegant but it worked.

---

<div class="post-metadata">

**Author:** ![RysZ](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/rysz/32/4570_2.png) [@RysZ](https://forum.robotframework.org/u/RysZ)\
**Post date:** [8 May 2026 14:02 UTC](https://forum.robotframework.org/t/robot-framework-browser-visible-angular-input-fails-with-element-is-not-enabled/9660/4 "2026-05-08T14:02:37Z")

</div>

Hi, from your description I believe it is what @damies13 mentioned. We often won’t notice obvious actions we are making in manual, and omit them in script later. Lot of input fields though seem visible, need to be enabled by click or double click on parents or higher(like Click .input \>\> ../..) before Fill Text or Press Keys and then after removed focus from the field.
