# SeleniumLibrary

**URL:** https://forum.robotframework.org/c/libraries/lib-seleniumlibrary/11.md

[Latest](https://forum.robotframework.org/latest.md) · [Categories](https://forum.robotframework.org/categories.md)

---

## [About the SeleniumLibrary category](https://forum.robotframework.org/t/about-the-seleniumlibrary-category/26)

<div class="topic-metadata">

**Author:** [@René](https://forum.robotframework.org/u/Ren%C3%A9)\
**Replies:** 0\
**Last updated:** [23 April 2020 22:39 UTC](https://forum.robotframework.org/t/about-the-seleniumlibrary-category/26 "2020-04-23T22:39:30Z")

</div>

robotframework-seleniumlibrary

---

## [Escaped backslashes when appending regex string to list/dictionary](https://forum.robotframework.org/t/escaped-backslashes-when-appending-regex-string-to-list-dictionary/9515)

<div class="topic-metadata">

**Author:** [@rkautomation](https://forum.robotframework.org/u/rkautomation)\
**Replies:** 1\
**Last updated:** [23 January 2026 10:15 UTC](https://forum.robotframework.org/t/escaped-backslashes-when-appending-regex-string-to-list-dictionary/9515 "2026-01-23T10:15:56Z")

</div>

I’m extracting the text ^\[\\d\]{3}-\[\\d\]{4}-\[\\d\]{7}-\[\\d\]{1}$ from a web element and want to append it to a Python list. However, after appending, it shows up as an escaped string: \['USA', 'Emirates', 'NNN-NNNN', '^\[\\\\d\]{3}…

---

## [Toast messages handling using robot framework](https://forum.robotframework.org/t/toast-messages-handling-using-robot-framework/370)

<div class="topic-metadata">

**Author:** [@adskul](https://forum.robotframework.org/u/adskul)\
**Replies:** 4\
**Last updated:** [15 January 2026 19:41 UTC](https://forum.robotframework.org/t/toast-messages-handling-using-robot-framework/370 "2026-01-15T19:41:10Z")

</div>

Hi, How to automate toast messages using robot framework? In my web application under test there are different toast messages on different location. These messages display for 3 seconds and then gets fade away. Unabl…

---

## [Test a website on mobile with selenium library](https://forum.robotframework.org/t/test-a-website-on-mobile-with-selenium-library/9429)

<div class="topic-metadata">

**Author:** [@dmereaux](https://forum.robotframework.org/u/dmereaux)\
**Replies:** 2\
**Last updated:** [24 November 2025 20:16 UTC](https://forum.robotframework.org/t/test-a-website-on-mobile-with-selenium-library/9429 "2025-11-24T20:16:33Z")

</div>

I would like to use my selenium test on an android mobile without using Appium library. I try by using Open Browser with remote\_url with appium server url and desired\_capabilities. But it doesn’t work. Is there a way no…

---

## [Rodar testes com SeleniumLibrary em background](https://forum.robotframework.org/t/rodar-testes-com-seleniumlibrary-em-background/9418)

<div class="topic-metadata">

**Author:** [@thiagoabento](https://forum.robotframework.org/u/thiagoabento)\
**Replies:** 4\
**Last updated:** [14 November 2025 23:25 UTC](https://forum.robotframework.org/t/rodar-testes-com-seleniumlibrary-em-background/9418 "2025-11-14T23:25:01Z")

</div>

AI Translation (added by Markus): Hello, good afternoon. I have a question and would like to ask for some help. I am performing a test automation using Robot with the SeleniumLibrary on a web system. The login scree…

---

## [Maximize Browser Window is not working for edge](https://forum.robotframework.org/t/maximize-browser-window-is-not-working-for-edge/7332)

<div class="topic-metadata">

**Author:** [@Minal](https://forum.robotframework.org/u/Minal)\
**Replies:** 6\
**Last updated:** [29 September 2025 10:32 UTC](https://forum.robotframework.org/t/maximize-browser-window-is-not-working-for-edge/7332 "2025-09-29T10:32:49Z")

</div>

Can anyone help me with the issue Maximize Browser Window Keyword . Want to maximize the edge browser window for the script btu the keyword Maximize Browser Window is not working . And even if I use the Keyword Set Windo…

---

## [Zooming out a website](https://forum.robotframework.org/t/zooming-out-a-website/7285)

<div class="topic-metadata">

**Author:** [@mohdl99](https://forum.robotframework.org/u/mohdl99)\
**Replies:** 14\
**Last updated:** [17 September 2025 13:21 UTC](https://forum.robotframework.org/t/zooming-out-a-website/7285 "2025-09-17T13:21:23Z")

</div>

Hi, I’m working on automating some tests for a website, only issue is these tests run on remote machines that have a low and different display resolutions and ends up with a different perspective for the website that is…

---

## [Print to PDF Question](https://forum.robotframework.org/t/print-to-pdf-question/6943)

<div class="topic-metadata">

**Author:** [@Robot-J](https://forum.robotframework.org/u/Robot-J)\
**Replies:** 6\
**Last updated:** [27 August 2025 09:57 UTC](https://forum.robotframework.org/t/print-to-pdf-question/6943 "2025-08-27T09:57:44Z")

</div>

For starters: I read a lot of other posts regarding this issue, but wanted to ask if there is any updated solutions. I already read this:How to click on download of pdf and save inside browser windw in robot framrwork S…

---

## [File download to specific directory](https://forum.robotframework.org/t/file-download-to-specific-directory/8042)

<div class="topic-metadata">

**Author:** [@Katie](https://forum.robotframework.org/u/Katie)\
**Replies:** 8\
**Last updated:** [26 August 2025 08:01 UTC](https://forum.robotframework.org/t/file-download-to-specific-directory/8042 "2025-08-26T08:01:04Z")

</div>

Hi all, I’m trying to set chrome browser working in incognito mode to save all downloadable files in a specific directory inside of my framework, but it’s not working. So when Download button is clicked in incognito mod…

---

## [BrowserNotFoundError: Failed to start a browser: chrome: Could not reach host. Are you offline?](https://forum.robotframework.org/t/browsernotfounderror-failed-to-start-a-browser-chrome-could-not-reach-host-are-you-offline/9086)

<div class="topic-metadata">

**Author:** [@gotoshekar](https://forum.robotframework.org/u/gotoshekar)\
**Replies:** 2\
**Last updated:** [19 July 2025 16:22 UTC](https://forum.robotframework.org/t/browsernotfounderror-failed-to-start-a-browser-chrome-could-not-reach-host-are-you-offline/9086 "2025-07-19T16:22:45Z")

</div>

Team, We are using Open Available Browser’s usage in Selenium.py doesn’t downloads the Webdrivers as per the selected browser. Due to this the following error gets thrown. BrowserNotFoundError: Failed to start a browser…

---

## [Headless Browser in Chrome 137 suddenly stopped maximising or windows size is not set 1920\*1080. Below is my robot keyword. Does any one face this issue when running headless with latest chromedriver. Any help much appreciated please?](https://forum.robotframework.org/t/headless-browser-in-chrome-137-suddenly-stopped-maximising-or-windows-size-is-not-set-1920-1080-below-is-my-robot-keyword-does-any-one-face-this-issue-when-running-headless-with-latest-chromedriver-any-help-much-appreciated-please/8929)

<div class="topic-metadata">

**Author:** [@vijaychekuri](https://forum.robotframework.org/u/vijaychekuri)\
**Replies:** 8\
**Last updated:** [19 June 2025 16:53 UTC](https://forum.robotframework.org/t/headless-browser-in-chrome-137-suddenly-stopped-maximising-or-windows-size-is-not-set-1920-1080-below-is-my-robot-keyword-does-any-one-face-this-issue-when-running-headless-with-latest-chromedriver-any-help-much-appreciated-please/8929 "2025-06-19T16:53:44Z")

</div>

Use Chrome Browser for UIAutomation ${prefs}= Create Dictionary … profile.default\_content\_setting\_values.automatic\_downloads=1 … download.default\_directory=${default\_download\_directory} … download.prompt\_…

---

## [Unable to get driver instnace from python file](https://forum.robotframework.org/t/unable-to-get-driver-instnace-from-python-file/8816)

<div class="topic-metadata">

**Author:** [@madhurya](https://forum.robotframework.org/u/madhurya)\
**Replies:** 1\
**Last updated:** [1 May 2025 19:40 UTC](https://forum.robotframework.org/t/unable-to-get-driver-instnace-from-python-file/8816 "2025-05-01T19:40:53Z")

</div>

Hi Team, I am working on robot framework with Python. I have a python functions where the they have initialized driver, i cannot modify the function nor can i create a new driver instance. I need to get the same driver …

---

## [Error in Open Browser: 'service\_log\_path' is deprecated](https://forum.robotframework.org/t/error-in-open-browser-service-log-path-is-deprecated/8811)

<div class="topic-metadata">

**Author:** [@jorge-lopezs\_neoris](https://forum.robotframework.org/u/jorge-lopezs_neoris)\
**Replies:** 2\
**Last updated:** [30 April 2025 10:42 UTC](https://forum.robotframework.org/t/error-in-open-browser-service-log-path-is-deprecated/8811 "2025-04-30T10:42:13Z")

</div>

I normally use this argument to prevent the geckodriver.log file from appearing, and after the last update I made, I now get the following WARNING: ‘service\_log\_path is being deprecated. Please use service to configure…

---

## [Drop button button automatically closing](https://forum.robotframework.org/t/drop-button-button-automatically-closing/8814)

<div class="topic-metadata">

**Author:** [@SSML](https://forum.robotframework.org/u/SSML)\
**Replies:** 1\
**Last updated:** [30 April 2025 09:54 UTC](https://forum.robotframework.org/t/drop-button-button-automatically-closing/8814 "2025-04-30T09:54:40Z")

</div>

I have a drop down button in a web page, after clicking it expands and waits for some time and closes automatically.. how to prevent it from shrinking.

---

## [How to resolve Chrome Driver version access failure?](https://forum.robotframework.org/t/how-to-resolve-chrome-driver-version-access-failure/8043)

<div class="topic-metadata">

**Author:** [@Erika\_Santana](https://forum.robotframework.org/u/Erika_Santana)\
**Replies:** 2\
**Last updated:** [30 April 2025 08:03 UTC](https://forum.robotframework.org/t/how-to-resolve-chrome-driver-version-access-failure/8043 "2025-04-30T08:03:17Z")

</div>

How can I resolve this error that is occurring when running a web test with robot framework? (note: I updated the chrome drive, made changes to the firewall and proxy, and it still didn’t work) Exception when trying to…

---

## [Chrome password popup as part of login in to browser, how to handle it using automatoin](https://forum.robotframework.org/t/chrome-password-popup-as-part-of-login-in-to-browser-how-to-handle-it-using-automatoin/8762)

<div class="topic-metadata">

**Author:** [@SSML](https://forum.robotframework.org/u/SSML)\
**Replies:** 1\
**Last updated:** [11 April 2025 07:00 UTC](https://forum.robotframework.org/t/chrome-password-popup-as-part-of-login-in-to-browser-how-to-handle-it-using-automatoin/8762 "2025-04-11T07:00:55Z")

</div>

I am getting pop like “The password u just entered was found in data breach” google password manager recommends changing the password. can any body let me know how to handle this in automation as part of launching br…

---

## [SeleniumLibrary Screenshot on Failure with python](https://forum.robotframework.org/t/seleniumlibrary-screenshot-on-failure-with-python/8707)

<div class="topic-metadata">

**Author:** [@wmtan01](https://forum.robotframework.org/u/wmtan01)\
**Replies:** 4\
**Last updated:** [24 March 2025 20:19 UTC](https://forum.robotframework.org/t/seleniumlibrary-screenshot-on-failure-with-python/8707 "2025-03-24T20:19:01Z")

</div>

Hi, We use Robot Framework and SeleniumLibrary for most of our testing. Recently we started exploring using python more specially for building more complex keywords. We noticed that when these keywords fail, even when t…

---

## [Pass an Xpath in Execute Javascript](https://forum.robotframework.org/t/pass-an-xpath-in-execute-javascript/8691)

<div class="topic-metadata">

**Author:** [@Fabrice](https://forum.robotframework.org/u/Fabrice)\
**Replies:** 4\
**Last updated:** [20 March 2025 18:45 UTC](https://forum.robotframework.org/t/pass-an-xpath-in-execute-javascript/8691 "2025-03-20T18:45:05Z")

</div>

Hello all, Juste a question on execute javascript… In my old old old version of Rf+SeleniumLibrary, i can write a command with an Xpath like this : Execute Javascript var Map = $(“\[class=‘widget-container’\]”); An…

---

## [Invalid resource file extension](https://forum.robotframework.org/t/invalid-resource-file-extension/8659)

<div class="topic-metadata">

**Author:** [@tigsuway](https://forum.robotframework.org/u/tigsuway)\
**Replies:** 2\
**Last updated:** [17 March 2025 18:04 UTC](https://forum.robotframework.org/t/invalid-resource-file-extension/8659 "2025-03-17T18:04:43Z")

</div>

Hi Everyone, I hope you are having a great day! I have encountered an issue right now and it is this error: …\\Sample.robot’ on line 2: Invalid resource file extension ‘’. Supported extensions are ‘.json’, ‘.resource’,…

---

## [Chrome options --headless=new](https://forum.robotframework.org/t/chrome-options-headless-new/6009)

<div class="topic-metadata">

**Author:** [@wilsoft-gt](https://forum.robotframework.org/u/wilsoft-gt)\
**Replies:** 9\
**Last updated:** [18 March 2025 15:20 UTC](https://forum.robotframework.org/t/chrome-options-headless-new/6009 "2025-03-18T15:20:11Z")

</div>

Hi all, I’m trying to run a test case in headless mode with an extension, after checking it is possible by calling the argument like this: –headless=new The issue is that I’m using robot like so: ${chrome\_options}= …

---

## [Scroll Element Into View Improvement](https://forum.robotframework.org/t/scroll-element-into-view-improvement/8470)

<div class="topic-metadata">

**Author:** [@CharlieScene](https://forum.robotframework.org/u/CharlieScene)\
**Replies:** 0\
**Last updated:** [14 February 2025 19:55 UTC](https://forum.robotframework.org/t/scroll-element-into-view-improvement/8470 "2025-02-14T19:55:01Z")

</div>

Hi, As many users, I have sometimes been struggling with the Scroll Element Into View keyword, and finally set something like this to be able to reach element even when there’s no other element or a footer for example: …

---

## [Edge logging "Open Webpage In Edge"](https://forum.robotframework.org/t/edge-logging-open-webpage-in-edge/8637)

<div class="topic-metadata">

**Author:** [@Marcelloh](https://forum.robotframework.org/u/Marcelloh)\
**Replies:** 6\
**Last updated:** [12 March 2025 16:37 UTC](https://forum.robotframework.org/t/edge-logging-open-webpage-in-edge/8637 "2025-03-12T16:37:00Z")

</div>

I don’t know how to get rid of some logging. Each time the script writes in the terminal: Open Webpage In Edge :: Open Webpage In Edge And I tried a lot of ways to supress any logging, but this one keeps bothering me…

---

## [Need Help Automating File Upload Without Input Tag](https://forum.robotframework.org/t/need-help-automating-file-upload-without-input-tag/8572)

<div class="topic-metadata">

**Author:** [@madhurya](https://forum.robotframework.org/u/madhurya)\
**Replies:** 10\
**Last updated:** [3 March 2025 05:44 UTC](https://forum.robotframework.org/t/need-help-automating-file-upload-without-input-tag/8572 "2025-03-03T05:44:43Z")

</div>

Hi Team, I’m facing an issue while automating a file upload scenario. Th e web application I’m testing does not support the \<input\> tag for the upload button. Is there any alternative approach to automate this? I’d…

---

## [Robot suddenly fails when running headless chrome](https://forum.robotframework.org/t/robot-suddenly-fails-when-running-headless-chrome/8557)

<div class="topic-metadata">

**Author:** [@hbirkdale](https://forum.robotframework.org/u/hbirkdale)\
**Replies:** 4\
**Last updated:** [27 February 2025 13:06 UTC](https://forum.robotframework.org/t/robot-suddenly-fails-when-running-headless-chrome/8557 "2025-02-27T13:06:08Z")

</div>

I’ve had a robot running successfully in both our CI/CD and locally successfully for two years now. We’re running our tests in headless chrome and we’ve defaulted to using standard keywords such as Open Headless Chrome B…

---

## [How to select an option from the context menu, opened via mouse right-click?](https://forum.robotframework.org/t/how-to-select-an-option-from-the-context-menu-opened-via-mouse-right-click/8500)

<div class="topic-metadata">

**Author:** [@rofan](https://forum.robotframework.org/u/rofan)\
**Replies:** 4\
**Last updated:** [25 February 2025 11:39 UTC](https://forum.robotframework.org/t/how-to-select-an-option-from-the-context-menu-opened-via-mouse-right-click/8500 "2025-02-25T11:39:06Z")

</div>

I am using Selenium. How to select any option of my choice from the context menu, opened via mouse right-click? E.g. the ‘Cast’ option? Sure, I can use Open Context Menu. But after that, I can’t do much else. Suggest…

---

## [Opening Chrome browser from the system and not from .cache](https://forum.robotframework.org/t/opening-chrome-browser-from-the-system-and-not-from-cache/8511)

<div class="topic-metadata">

**Author:** [@Magizhnan](https://forum.robotframework.org/u/Magizhnan)\
**Replies:** 2\
**Last updated:** [21 February 2025 11:59 UTC](https://forum.robotframework.org/t/opening-chrome-browser-from-the-system-and-not-from-cache/8511 "2025-02-21T11:59:25Z")

</div>

Evey time when i invoke chrome browser it’s opening from my .cache location. I have a code that changes the browser version in se-metadata.json & deletes the chrome folder in the cache location in suite setup. but ev…

---

## [Selenium Manager - WARN message](https://forum.robotframework.org/t/selenium-manager-warn-message/8497)

<div class="topic-metadata">

**Author:** [@RysZ](https://forum.robotframework.org/u/RysZ)\
**Replies:** 8\
**Last updated:** [21 February 2025 10:42 UTC](https://forum.robotframework.org/t/selenium-manager-warn-message/8497 "2025-02-21T10:42:51Z")

</div>

Hi there, using selenium==4.22.0 but checked also with selenium==4.28.0, RF=7 For some reasons I need to use Selenium Manager in Offline mode(SE\_OFFLINE), but even so it is giving the annoying(chromedriver is in the PA…

---

## [Unable to click the element in shadow-root](https://forum.robotframework.org/t/unable-to-click-the-element-in-shadow-root/8477)

<div class="topic-metadata">

**Author:** [@Narasareddy405](https://forum.robotframework.org/u/Narasareddy405)\
**Replies:** 2\
**Last updated:** [17 February 2025 12:41 UTC](https://forum.robotframework.org/t/unable-to-click-the-element-in-shadow-root/8477 "2025-02-17T12:41:58Z")

</div>

Hi All, Could you please help me out to click the element available in shadowroot. I have tried like this but not working Library SeleniumLibrary Click Element document.querySelector(“#LauncherButton”) # Click E…

---

## [Unable To Open Browser On Host Machine When Executing Test Suite from Container](https://forum.robotframework.org/t/unable-to-open-browser-on-host-machine-when-executing-test-suite-from-container/8475)

<div class="topic-metadata">

**Author:** [@Learning-RF](https://forum.robotframework.org/u/Learning-RF)\
**Replies:** 0\
**Last updated:** [17 February 2025 09:39 UTC](https://forum.robotframework.org/t/unable-to-open-browser-on-host-machine-when-executing-test-suite-from-container/8475 "2025-02-17T09:39:40Z")

</div>

Hi everyone, I’m trying to run a Robot Framework test suite from a Podman container but I’m facing an issue where the browser fails to open on my host machine. My setup details are: Robot Framework: 7.2.2 Python: 3.1…

---

## [Maximize Window - Chromedriver 133](https://forum.robotframework.org/t/maximize-window-chromedriver-133/8416)

<div class="topic-metadata">

**Author:** [@CharlieScene](https://forum.robotframework.org/u/CharlieScene)\
**Replies:** 3\
**Last updated:** [15 February 2025 14:50 UTC](https://forum.robotframework.org/t/maximize-window-chromedriver-133/8416 "2025-02-15T14:50:24Z")

</div>

Hi ! I’m wondering if some Linux users are experiencing issues with Chromium/Chromedriver last release 133, and Seleniumlibrary Maximize Browser Window. I have this setup/packages: → RF v7.0, Selenium 4.24.0, Seleniu…

[Next page](https://forum.robotframework.org/c/libraries/lib-seleniumlibrary/11.md?page=1)
