# Selenium Library - Switch Browser - Not visible - How to edit the method

**URL:** <https://forum.robotframework.org/t/selenium-library-switch-browser-not-visible-how-to-edit-the-method/3015>\
**Category:** SeleniumLibrary\
**Created:** [28 December 2021 14:29 UTC](https://forum.robotframework.org/t/selenium-library-switch-browser-not-visible-how-to-edit-the-method/3015 "2021-12-28T14:29:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Josdov](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@Josdov](https://forum.robotframework.org/u/Josdov)\
**Post date:** [28 December 2021 14:29 UTC](https://forum.robotframework.org/t/selenium-library-switch-browser-not-visible-how-to-edit-the-method/3015/1 "2021-12-28T14:29:58Z")

</div>

Hello 🙂  
I am new here  
I would like to find a way to edit the method switch\_browser to so the page will be visible  
From

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/2X/8/8a0a5f86b0b11032ccadd09518f7c2e59bd2dec9.png)  
To  
 ![image](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/2X/2/237a5f9b8b914fa3e803232e792831440fa22d17.png)

This is just in my local machine and I cannot commit it to the Azure repository

---

<div class="post-metadata">

**Author:** ![aaltat](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/aaltat/32/15_2.png) [@aaltat](https://forum.robotframework.org/u/aaltat)\
**Post date:** [28 December 2021 16:57 UTC](https://forum.robotframework.org/t/selenium-library-switch-browser-not-visible-how-to-edit-the-method/3015/2 "2021-12-28T16:57:41Z")

</div>

Have you seen [SeleniumLibrary/extending.rst at master · robotframework/SeleniumLibrary · GitHub](https://github.com/robotframework/SeleniumLibrary/blob/master/docs/extending/extending.rst) Most likely this is easiest to do with plugin.

---

<div class="post-metadata">

**Author:** ![Josdov](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@Josdov](https://forum.robotframework.org/u/Josdov)\
**Post date:** [29 December 2021 13:41 UTC](https://forum.robotframework.org/t/selenium-library-switch-browser-not-visible-how-to-edit-the-method/3015/3 "2021-12-29T13:41:05Z")

</div>

@aaltat  
Thank you very much,  
I will try to use the plugins.  
Happy Holidays

---

<div class="post-metadata">

**Author:** ![Josdov](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@Josdov](https://forum.robotframework.org/u/Josdov)\
**Post date:** [29 December 2021 15:59 UTC](https://forum.robotframework.org/t/selenium-library-switch-browser-not-visible-how-to-edit-the-method/3015/4 "2021-12-29T15:59:04Z")

</div>

![image](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/2X/8/8668890aa76242d1b282d9c98c99a0d61610e23f.png)

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/2X/0/023932e5fe002ba5f447a02702293a984cf28594.png)

Can you help me to fix the code?  
I am not a developper?

---

<div class="post-metadata">

**Author:** ![aaltat](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/aaltat/32/15_2.png) [@aaltat](https://forum.robotframework.org/u/aaltat)\
**Post date:** [29 December 2021 21:14 UTC](https://forum.robotframework.org/t/selenium-library-switch-browser-not-visible-how-to-edit-the-method/3015/5 "2021-12-29T21:14:29Z")

</div>

Do inherit SeleniumLibrary instead inherit LibraryComponent, see in here [SeleniumLibrary/MyPlugin.py at master · robotframework/SeleniumLibrary · GitHub](https://github.com/robotframework/SeleniumLibrary/blob/master/docs/extending/plugin_api/MyPlugin.py#L17)

---

<div class="post-metadata">

**Author:** ![Josdov](https://avatars.discourse-cdn.com/v4/letter/j/7ba0ec/32.png) [@Josdov](https://forum.robotframework.org/u/Josdov)\
**Post date:** [30 December 2021 08:55 UTC](https://forum.robotframework.org/t/selenium-library-switch-browser-not-visible-how-to-edit-the-method/3015/6 "2021-12-30T08:55:30Z")

</div>

Thanks @aaltat
