# I can't click on a variable for login web automation

**URL:** <https://forum.electroneek.com/t/i-cant-click-on-a-variable-for-login-web-automation/3473>\
**Category:** Studio Pro\
**Tags:** browser\
**Created:** [September 11, 2023, 6:37pm UTC](https://forum.electroneek.com/t/i-cant-click-on-a-variable-for-login-web-automation/3473 "2023-09-11T18:37:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mario\_Nowajewski](https://forum.electroneek.com/user_avatar/forum.electroneek.com/mario_nowajewski/32/1534_2.png) [@Mario\_Nowajewski](https://forum.electroneek.com/u/Mario_Nowajewski)\
**Post date:** [September 11, 2023, 6:37pm UTC](https://forum.electroneek.com/t/i-cant-click-on-a-variable-for-login-web-automation/3473/1 "2023-09-11T18:37:01Z")

</div>

Hello everyone, We need your great help please. I cannot automate the login to a website [https://www.officebanking.cl/](https://www.officebanking.cl/)  
I have tried other sites and have had no problems.  
I select the “Username” label “RUT” and “Password” label “Password” but I cannot enter the data. Try xpath and full xpath. but it seems impossible to me. I checked the id line by line with the developer tools, but nothing

 ![photo1.PNG](https://forum.electroneek.com/uploads/default/original/2X/b/bac44530efe3d147571207a632fbed51ce829fbe.jpeg)

Thanks for all!

---

<div class="post-metadata">

**Author:** ![cris-dsc](https://forum.electroneek.com/user_avatar/forum.electroneek.com/cris-dsc/32/768_2.png) [@cris-dsc](https://forum.electroneek.com/u/cris-dsc)\
**Post date:** [September 11, 2023, 9:18pm UTC](https://forum.electroneek.com/t/i-cant-click-on-a-variable-for-login-web-automation/3473/2 "2023-09-11T21:18:04Z")

</div>

Hi, Mario!

The RUT and Password elements are inside an iframe. That means you first need to find the iframe with the `Find iframe` activity. Than you find the elements within the iframe. I was able to do that by opening the src URL of the iframe element in a different tab, than using the browser picker to select the elements.

Settings for `Find iframe`

 ![image](https://forum.electroneek.com/uploads/default/original/2X/6/6d1443277754a99b0c955f777bdbdf6893070dc3.png)

You can find the src for the iframe in its properties tab

 ![image](https://forum.electroneek.com/uploads/default/original/2X/7/7da0f3cd9c019bf8987dd108e1c18241df4dadbc.png)

Settings for `Set element value`

 ![image](https://forum.electroneek.com/uploads/default/original/2X/1/12cc05239eac7c34f14592ae1d1f76ea4d49273d.png)

Upon testing, the bot was able to insert data into the RUT field, so I think this works well. I hope this helps!

---

<div class="post-metadata">

**Author:** ![Mario\_Nowajewski](https://forum.electroneek.com/user_avatar/forum.electroneek.com/mario_nowajewski/32/1534_2.png) [@Mario\_Nowajewski](https://forum.electroneek.com/u/Mario_Nowajewski)\
**Post date:** [September 12, 2023, 1:13pm UTC](https://forum.electroneek.com/t/i-cant-click-on-a-variable-for-login-web-automation/3473/3 "2023-09-12T13:13:38Z")

</div>

You are the best! is working.  
Thanks for all.

Regards,  
Mario.

---

<div class="post-metadata">

**Author:** ![cris-dsc](https://forum.electroneek.com/user_avatar/forum.electroneek.com/cris-dsc/32/768_2.png) [@cris-dsc](https://forum.electroneek.com/u/cris-dsc)\
**Post date:** [September 12, 2023, 2:10pm UTC](https://forum.electroneek.com/t/i-cant-click-on-a-variable-for-login-web-automation/3473/4 "2023-09-12T14:10:32Z")

</div>

Great! I’m glad I could help!

Please remember to mark my answer as the solution to your question.
