# Libraries

**URL:** https://forum.robotframework.org/c/libraries/9.md?page=2

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

**Page:** 3

---

## [Locator always selects first element in the list](https://forum.robotframework.org/t/locator-always-selects-first-element-in-the-list/9126)

<div class="topic-metadata">

**Author:** [@Aero10](https://forum.robotframework.org/u/Aero10)\
**Replies:** 4\
**Last updated:** [7 August 2025 15:19 UTC](https://forum.robotframework.org/t/locator-always-selects-first-element-in-the-list/9126 "2025-08-07T15:19:48Z")

</div>

Hello all, I am facing an issue with locator that I have been trying to figure out with no success, so any help will be much appreciated. There is a list of items/rows on the page, and I want to click a button on a par…

---

## [Radio Button not selected with Click](https://forum.robotframework.org/t/radio-button-not-selected-with-click/6371)

<div class="topic-metadata">

**Author:** [@kalle.mujunen](https://forum.robotframework.org/u/kalle.mujunen)\
**Replies:** 12\
**Last updated:** [5 August 2025 09:09 UTC](https://forum.robotframework.org/t/radio-button-not-selected-with-click/6371 "2025-08-05T09:09:13Z")

</div>

Hi! I am using Browser Library with Robot Framework in my work. I am trying to create a test script for document, which is using Radio Button selection. Used Keyword is below: Keyword for Radio Button Action Wait For …

---

## [How to connect to MongoDB](https://forum.robotframework.org/t/how-to-connect-to-mongodb/6848)

<div class="topic-metadata">

**Author:** [@Vitaly](https://forum.robotframework.org/u/Vitaly)\
**Replies:** 7\
**Last updated:** [5 August 2025 08:38 UTC](https://forum.robotframework.org/t/how-to-connect-to-mongodb/6848 "2025-08-05T08:38:35Z")

</div>

Hi! I am using guide from Database Library | ROBOT FRAMEWORK There is mentioned “To connect to a database, you also need to install a Python Module adhearing to the Python Database API Specification v2.0. You can find…

---

## [Suggestions for release notes](https://forum.robotframework.org/t/suggestions-for-release-notes/9099)

<div class="topic-metadata">

**Author:** [@rasjani](https://forum.robotframework.org/u/rasjani)\
**Replies:** 2\
**Last updated:** [30 July 2025 09:33 UTC](https://forum.robotframework.org/t/suggestions-for-release-notes/9099 "2025-07-30T09:33:08Z")

</div>

@aaltat hey, just a small suggestion, when you make the post about new release and there’s a link to github issues with the given tag, its something like this: eg, the url arguments are “q=is%3Aopen%20milestone%3Av19…

---

## [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…

---

## [Im getting an error: WebDriver' object has no attribute 'set\_settings](https://forum.robotframework.org/t/im-getting-an-error-webdriver-object-has-no-attribute-set-settings/9085)

<div class="topic-metadata">

**Author:** [@yullyayuu](https://forum.robotframework.org/u/yullyayuu)\
**Replies:** 1\
**Last updated:** [18 July 2025 08:31 UTC](https://forum.robotframework.org/t/im-getting-an-error-webdriver-object-has-no-attribute-set-settings/9085 "2025-07-18T08:31:04Z")

</div>

I’m facing an issue where I can’t allow the location permission on the simulator. I tried using python. But Im getting error acceptAlertButtonSelector : 'WebDriver' object has no attribute 'set\_settings. I’m currently us…

---

## [Reimport library while running testcase](https://forum.robotframework.org/t/reimport-library-while-running-testcase/9081)

<div class="topic-metadata">

**Author:** [@harishnaitanwar](https://forum.robotframework.org/u/harishnaitanwar)\
**Replies:** 4\
**Last updated:** [16 July 2025 21:56 UTC](https://forum.robotframework.org/t/reimport-library-while-running-testcase/9081 "2025-07-16T21:56:17Z")

</div>

Hi team , I written 1 python library and need to pass 4 aruguments i.e username, password , broker IP, broker Port Initially i importe library in settings section but while running testcase i need to manipulate the bro…

---

## [SSL/TLS Certificate error with POST request using SOAP web service](https://forum.robotframework.org/t/ssl-tls-certificate-error-with-post-request-using-soap-web-service/9074)

<div class="topic-metadata">

**Author:** [@Pushpinder](https://forum.robotframework.org/u/Pushpinder)\
**Replies:** 5\
**Last updated:** [16 July 2025 14:58 UTC](https://forum.robotframework.org/t/ssl-tls-certificate-error-with-post-request-using-soap-web-service/9074 "2025-07-16T14:58:55Z")

</div>

I am new to Robot FW and trying to make a POST request to an internal SOAP service (.Net based WCF Service) using username and password. I am getting an error related to SSL certificate like this SSLError: HTTPSConnecti…

---

## [SQL Server complex query with robot framework](https://forum.robotframework.org/t/sql-server-complex-query-with-robot-framework/9062)

<div class="topic-metadata">

**Author:** [@Pushpinder](https://forum.robotframework.org/u/Pushpinder)\
**Replies:** 7\
**Last updated:** [16 July 2025 14:47 UTC](https://forum.robotframework.org/t/sql-server-complex-query-with-robot-framework/9062 "2025-07-16T14:47:53Z")

</div>

I am trying to run a complex query that accepts an argument from calling keyword. The query is like 891 characters long consisting of some declarations, temp table with joins and lastly a select query joining the output…

---

## [How to Auto-Dismiss Location Permission Alerts in iOS Simulator Using Robot Framework Appium?](https://forum.robotframework.org/t/how-to-auto-dismiss-location-permission-alerts-in-ios-simulator-using-robot-framework-appium/9083)

<div class="topic-metadata">

**Author:** [@yullyayuu](https://forum.robotframework.org/u/yullyayuu)\
**Replies:** 0\
**Last updated:** [16 July 2025 14:09 UTC](https://forum.robotframework.org/t/how-to-auto-dismiss-location-permission-alerts-in-ios-simulator-using-robot-framework-appium/9083 "2025-07-16T14:09:42Z")

</div>

I’m facing an issue where I can’t allow the location permission on the simulator. I’ve tried the following method, but it only works on iOS 18: I’m running tests on iOS Simulator using Appium, and my app triggers the st…

---

## [Unwanted terminal escape sequences or prompt text in Robot Framework output on Ubuntu 22.04"](https://forum.robotframework.org/t/unwanted-terminal-escape-sequences-or-prompt-text-in-robot-framework-output-on-ubuntu-22-04/9082)

<div class="topic-metadata">

**Author:** [@udai](https://forum.robotframework.org/u/udai)\
**Replies:** 3\
**Last updated:** [16 July 2025 10:41 UTC](https://forum.robotframework.org/t/unwanted-terminal-escape-sequences-or-prompt-text-in-robot-framework-output-on-ubuntu-22-04/9082 "2025-07-16T10:41:22Z")

</div>

While running Robot Framework tests on Ubuntu 22.04, the log/output files are getting cluttered with unwanted prefixes like ?\[2004h, ubuntu@k8master2:~$ at the beginning of each line. This seems to be coming from the te…

---

## [ConnectionError: Playwright process has been terminated with code 1](https://forum.robotframework.org/t/connectionerror-playwright-process-has-been-terminated-with-code-1/8778)

<div class="topic-metadata">

**Author:** [@AbhayPujari](https://forum.robotframework.org/u/AbhayPujari)\
**Replies:** 3\
**Last updated:** [15 July 2025 18:24 UTC](https://forum.robotframework.org/t/connectionerror-playwright-process-has-been-terminated-with-code-1/8778 "2025-07-15T18:24:25Z")

</div>

IOCP/Socket: Connection reset (An existing connection was forcibly closed by the remote host. – 10054) Also teardown failed: Several failures occurred: ConnectionError: Playwright process has been terminated with c…

---

## [Set Global Variable not working for me](https://forum.robotframework.org/t/set-global-variable-not-working-for-me/9069)

<div class="topic-metadata">

**Author:** [@Mehdi](https://forum.robotframework.org/u/Mehdi)\
**Replies:** 1\
**Last updated:** [10 July 2025 15:32 UTC](https://forum.robotframework.org/t/set-global-variable-not-working-for-me/9069 "2025-07-10T15:32:40Z")

</div>

robot framweork = 7.3.1 I tried to use a variable between my test sections with the kw Set Global Variable but it always return "the variable ${total\_balance} is not found PS : I got the same error when I use Set Tes…

---

## [No new page is created when clicking to open a PDF in headless mode](https://forum.robotframework.org/t/no-new-page-is-created-when-clicking-to-open-a-pdf-in-headless-mode/9068)

<div class="topic-metadata">

**Author:** [@tasnim](https://forum.robotframework.org/u/tasnim)\
**Replies:** 1\
**Last updated:** [9 July 2025 13:12 UTC](https://forum.robotframework.org/t/no-new-page-is-created-when-clicking-to-open-a-pdf-in-headless-mode/9068 "2025-07-09T13:12:23Z")

</div>

In headless=False (headed mode): We click an element (e.g., a file name like ProjectAttachedFile1.pdf). A new page is opened with the embedded PDF viewer. Switch Page NEW works correctly, and we can access the PDF a…

---

## [Appium: Close All Applications doesn't work](https://forum.robotframework.org/t/appium-close-all-applications-doesnt-work/9059)

<div class="topic-metadata">

**Author:** [@sasha034](https://forum.robotframework.org/u/sasha034)\
**Replies:** 0\
**Last updated:** [7 July 2025 14:29 UTC](https://forum.robotframework.org/t/appium-close-all-applications-doesnt-work/9059 "2025-07-07T14:29:52Z")

</div>

Hello guys! I m working with appium 2 and robotframework. I have notices since I use robotframework-appiumlibrary==2.0.0, the keyword “Close All Applications” doesn’t close my app There is no error in my robotframewor…

---

## [Hover over element to get ToolTip to show](https://forum.robotframework.org/t/hover-over-element-to-get-tooltip-to-show/9025)

<div class="topic-metadata">

**Author:** [@TomekWro](https://forum.robotframework.org/u/TomekWro)\
**Replies:** 2\
**Last updated:** [1 July 2025 13:35 UTC](https://forum.robotframework.org/t/hover-over-element-to-get-tooltip-to-show/9025 "2025-07-01T13:35:35Z")

</div>

Hello, I have a website with code: \<span class="euiToolTipAnchor"\>\<strong\>an hour ago\</strong\>\</span\> When i hover over it with normal browser/mouse i got a tooltip visible, it changes the \<strong\> with aria-desribedb…

---

## [UUID As screenshot filename seems to cause broken image links if executed with Pabot?](https://forum.robotframework.org/t/uuid-as-screenshot-filename-seems-to-cause-broken-image-links-if-executed-with-pabot/9042)

<div class="topic-metadata">

**Author:** [@rasjani](https://forum.robotframework.org/u/rasjani)\
**Replies:** 1\
**Last updated:** [30 June 2025 10:52 UTC](https://forum.robotframework.org/t/uuid-as-screenshot-filename-seems-to-cause-broken-image-links-if-executed-with-pabot/9042 "2025-06-30T10:52:55Z")

</div>

I tried the latest “UUID” as screenshot filename and for some reason the final combined log.html has broken images. Actual link contains the prefix that pabot added but the actual file does not have this prefix. Is this …

---

## [Simulate unreachable backend](https://forum.robotframework.org/t/simulate-unreachable-backend/9026)

<div class="topic-metadata">

**Author:** [@Noordsestern](https://forum.robotframework.org/u/Noordsestern)\
**Replies:** 2\
**Last updated:** [27 June 2025 13:01 UTC](https://forum.robotframework.org/t/simulate-unreachable-backend/9026 "2025-06-27T13:01:11Z")

</div>

Hi, When opening developer console in chrome, I can block certain domains in order to simulate that the website cannot reach the backend. Can do something like that with playwright and Browser? Regards, Markus

---

## [Press the physical Escape key in tests](https://forum.robotframework.org/t/press-the-physical-escape-key-in-tests/8992)

<div class="topic-metadata">

**Author:** [@grobnar](https://forum.robotframework.org/u/grobnar)\
**Replies:** 4\
**Last updated:** [25 June 2025 10:20 UTC](https://forum.robotframework.org/t/press-the-physical-escape-key-in-tests/8992 "2025-06-25T10:20:01Z")

</div>

How to close native file chooser window during Choose File simulation in Robot Framework? Hi everyone! The main issue I’m trying to solve is: After clicking the “Import” button, I need to upload a file. However, thing…

---

## [Not able to import the DynamicCore from rbfWeb](https://forum.robotframework.org/t/not-able-to-import-the-dynamiccore-from-rbfweb/8931)

<div class="topic-metadata">

**Author:** [@Hrithik](https://forum.robotframework.org/u/Hrithik)\
**Replies:** 3\
**Last updated:** [23 June 2025 06:24 UTC](https://forum.robotframework.org/t/not-able-to-import-the-dynamiccore-from-rbfweb/8931 "2025-06-23T06:24:07Z")

</div>

We have the customize code for rbf including standard liberties and referenced libraries, which eariler working fine with 3.6 python version. But now we are trying to build again with verion python 3.12 so, we are troble…

---

## [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\_…

---

## [Wait for response predicates?](https://forum.robotframework.org/t/wait-for-response-predicates/8957)

<div class="topic-metadata">

**Author:** [@rasjani](https://forum.robotframework.org/u/rasjani)\
**Replies:** 1\
**Last updated:** [18 June 2025 09:21 UTC](https://forum.robotframework.org/t/wait-for-response-predicates/8957 "2025-06-18T09:21:02Z")

</div>

With Wait For Response I can only give url matcher but on js side there’s possibility for predicates where I could check the originating http method.. So, I’m trying to get the response of PUT but because this is exter…

---

## [Keyword Click can't find element on the page for no reason](https://forum.robotframework.org/t/keyword-click-cant-find-element-on-the-page-for-no-reason/8968)

<div class="topic-metadata">

**Author:** [@Vitaly](https://forum.robotframework.org/u/Vitaly)\
**Replies:** 3\
**Last updated:** [17 June 2025 05:06 UTC](https://forum.robotframework.org/t/keyword-click-cant-find-element-on-the-page-for-no-reason/8968 "2025-06-17T05:06:01Z")

</div>

Hi! Im trying to check emails using yopmail. I need to click on email in order to open it. But I always get error “waiting for locator”. Which means there is no such locator. There is a code of yopmail: My code to …

---

## [How to interact with ::before pseudo-elements in Robot Framework?](https://forum.robotframework.org/t/how-to-interact-with-before-pseudo-elements-in-robot-framework/8959)

<div class="topic-metadata">

**Author:** [@MatusMoura](https://forum.robotframework.org/u/MatusMoura)\
**Replies:** 2\
**Last updated:** [11 June 2025 16:42 UTC](https://forum.robotframework.org/t/how-to-interact-with-before-pseudo-elements-in-robot-framework/8959 "2025-06-11T16:42:45Z")

</div>

I’m facing an issue trying to interact with a UI element that is rendered using the CSS ::before pseudo-element. The element is visually present on the screen (such as a button or icon), but it does not exist as a standa…

---

## [Como interagir com elementos renderizados via ::before (pseudo-elementos CSS) no Robot Framework?](https://forum.robotframework.org/t/como-interagir-com-elementos-renderizados-via-before-pseudo-elementos-css-no-robot-framework/8958)

<div class="topic-metadata">

**Author:** [@MatusMoura](https://forum.robotframework.org/u/MatusMoura)\
**Replies:** 2\
**Last updated:** [10 June 2025 18:09 UTC](https://forum.robotframework.org/t/como-interagir-com-elementos-renderizados-via-before-pseudo-elementos-css-no-robot-framework/8958 "2025-06-10T18:09:07Z")

</div>

Estou enfrentando uma dificuldade para interagir com um elemento que é renderizado dinamicamente usando o ::before no CSS. Esse conteúdo aparece visualmente na tela (como um botão ou ícone), mas não está presente no DOM …

---

## [‘Element Attribute Value Should Be’ in the browser library](https://forum.robotframework.org/t/element-attribute-value-should-be-in-the-browser-library/8953)

<div class="topic-metadata">

**Author:** [@tasnim](https://forum.robotframework.org/u/tasnim)\
**Replies:** 1\
**Last updated:** [9 June 2025 19:46 UTC](https://forum.robotframework.org/t/element-attribute-value-should-be-in-the-browser-library/8953 "2025-06-09T19:46:15Z")

</div>

Hi, Which keyword in the Browser library do the same as the selenium library keyword ‘Element Attribute Value Should Be’ example of use Element Attribute Value Should Be ${tva\_input} class other-column field …

---

## ['Page should contain' in the Browser library](https://forum.robotframework.org/t/page-should-contain-in-the-browser-library/8945)

<div class="topic-metadata">

**Author:** [@tasnim](https://forum.robotframework.org/u/tasnim)\
**Replies:** 3\
**Last updated:** [9 June 2025 17:16 UTC](https://forum.robotframework.org/t/page-should-contain-in-the-browser-library/8945 "2025-06-09T17:16:41Z")

</div>

Hi, Which keyword in the Browser library do the same as the selenium library keyword ‘Page should contain’? Thanks

---

## [Issues with "Focus" keyword](https://forum.robotframework.org/t/issues-with-focus-keyword/8933)

<div class="topic-metadata">

**Author:** [@rasjani](https://forum.robotframework.org/u/rasjani)\
**Replies:** 5\
**Last updated:** [4 June 2025 17:32 UTC](https://forum.robotframework.org/t/issues-with-focus-keyword/8933 "2025-06-04T17:32:20Z")

</div>

I’ve started to get issues with Focus keyword within last month or so.. Scenario is following: In testcase: Focus And Input Text ${INPUT\_FIRSTNAME} clientname True Focus And Input Text ${INPUT\_LASTNAME} …

---

## [Capturing Screen Text of an application and identifying button labels](https://forum.robotframework.org/t/capturing-screen-text-of-an-application-and-identifying-button-labels/8894)

<div class="topic-metadata">

**Author:** [@Lalith](https://forum.robotframework.org/u/Lalith)\
**Replies:** 0\
**Last updated:** [23 May 2025 05:38 UTC](https://forum.robotframework.org/t/capturing-screen-text-of-an-application-and-identifying-button-labels/8894 "2025-05-23T05:38:21Z")

</div>

Hello Community, I’m having an application which consists of both WPF and HTML screens in it. My requirement is to capture the screen text (Just my application) , identify the button labels and perform a click action on…

---

## [Official RF library project template(s)?](https://forum.robotframework.org/t/official-rf-library-project-template-s/8674)

<div class="topic-metadata">

**Author:** [@fkromer](https://forum.robotframework.org/u/fkromer)\
**Replies:** 12\
**Last updated:** [22 May 2025 08:28 UTC](https://forum.robotframework.org/t/official-rf-library-project-template-s/8674 "2025-05-22T08:28:47Z")

</div>

As far as I know there is no official library template available for Robot Framework libraries. For custom keyword python libraries it seems like the current recommendation is to use poetry for dependency management and…

[Previous page](https://forum.robotframework.org/c/libraries/9.md?page=1)

[Next page](https://forum.robotframework.org/c/libraries/9.md?page=3)
