# Comments for Set Selector Prefix

**URL:** <https://forum.robotframework.org/t/comments-for-set-selector-prefix/4741>\
**Category:** Browser-Dev\
**Created:** [25 September 2022 17:48 UTC](https://forum.robotframework.org/t/comments-for-set-selector-prefix/4741 "2022-09-25T17:48:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![René](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/ren%C3%A9/32/7_2.png) [@René](https://forum.robotframework.org/u/Ren%C3%A9)\
**Post date:** [25 September 2022 17:48 UTC](https://forum.robotframework.org/t/comments-for-set-selector-prefix/4741/1 "2022-09-25T17:48:20Z")

</div>

Topic for comments about Browser library keyword [Set Selector Prefix](https://marketsquare.github.io/robotframework-browser/Browser.html#Set%20Selector%20Prefix)

---

<div class="post-metadata">

**Author:** ![RatexMak](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/ratexmak/32/2887_2.png) [@RatexMak](https://forum.robotframework.org/u/RatexMak)\
**Post date:** [10 August 2023 17:17 UTC](https://forum.robotframework.org/t/comments-for-set-selector-prefix/4741/2 "2023-08-10T17:17:19Z")

</div>

Hi, René  
when i am trying to convert python code below into robotframework scripts, it troubles me that i cannot select the iframe and use ‘get element by’ placeholder afterwards. Any suggestions?

```python
page.frame_locator("iframe[name='"iframe_1\"]").get_by_palceholder("input serial number").click

```

Thankyou!

---

<div class="post-metadata">

**Author:** ![RatexMak](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/ratexmak/32/2887_2.png) [@RatexMak](https://forum.robotframework.org/u/RatexMak)\
**Post date:** [11 August 2023 00:58 UTC](https://forum.robotframework.org/t/comments-for-set-selector-prefix/4741/3 "2023-08-11T00:58:43Z")

</div>

```python
page.frame_locator("iframe[name='\"iframe_1\"]").get_by_palceholder("input serial number").click

```

Sorry that i am missing one '' in my code.

---

<div class="post-metadata">

**Author:** ![xuwei9207](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/xuwei9207/32/3127_2.png) [@xuwei9207](https://forum.robotframework.org/u/xuwei9207)\
**Post date:** [21 November 2023 12:23 UTC](https://forum.robotframework.org/t/comments-for-set-selector-prefix/4741/4 "2023-11-21T12:23:20Z")

</div>

did you resolve the problems? I met the same issue.
