# Browser

**URL:** https://forum.robotframework.org/c/libraries/browser/36.md?page=1

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

**Page:** 2

---

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

---

## [Cannot get property of input inside table and iframe](https://forum.robotframework.org/t/cannot-get-property-of-input-inside-table-and-iframe/8883)

<div class="topic-metadata">

**Author:** [@Zamuel](https://forum.robotframework.org/u/Zamuel)\
**Replies:** 1\
**Last updated:** [21 May 2025 13:27 UTC](https://forum.robotframework.org/t/cannot-get-property-of-input-inside-table-and-iframe/8883 "2025-05-21T13:27:53Z")

</div>

Hello all. I am tying to get a property of an input value (inside iframe and table etc.). The html looks more or less like this \<iframe name="\_paa" src="/something/SearchFramePage.htm" style="height: 100%; width: 100%…

---

## [Difference between element states 'Visible' and 'Stable'](https://forum.robotframework.org/t/difference-between-element-states-visible-and-stable/8878)

<div class="topic-metadata">

**Author:** [@yadubhushan](https://forum.robotframework.org/u/yadubhushan)\
**Replies:** 0\
**Last updated:** [21 May 2025 10:04 UTC](https://forum.robotframework.org/t/difference-between-element-states-visible-and-stable/8878 "2025-05-21T10:04:45Z")

</div>

Hello All, We have been using element states like ‘visible’, ‘stable’ from browser library before interacting with elements. Lately, We became curious about how ‘stable’ works since it is not working as we expected. We w…

---

## [How to use recordVideo for New Context](https://forum.robotframework.org/t/how-to-use-recordvideo-for-new-context/2204)

<div class="topic-metadata">

**Author:** [@marlonizag](https://forum.robotframework.org/u/marlonizag)\
**Replies:** 4\
**Last updated:** [14 May 2025 19:29 UTC](https://forum.robotframework.org/t/how-to-use-recordvideo-for-new-context/2204 "2025-05-14T19:29:33Z")

</div>

Hello everyone, I am having some difficulties passing recordVideo as an argument for New Context: \*\*\* Keywords \*\*\* launchBrowser \[Arguments\] ${browser\_url} New Browser chromium …

---

## [Get Text keyword in Webkit: returns \\n with the Text](https://forum.robotframework.org/t/get-text-keyword-in-webkit-returns-n-with-the-text/8781)

<div class="topic-metadata">

**Author:** [@spicard](https://forum.robotframework.org/u/spicard)\
**Replies:** 2\
**Last updated:** [5 May 2025 08:47 UTC](https://forum.robotframework.org/t/get-text-keyword-in-webkit-returns-n-with-the-text/8781 "2025-05-05T08:47:52Z")

</div>

Only in Webkit Each time the keyword Get Text is used, it returns the “text” with a \\n before and after the string. I think this is a bug. There is no \\n in the dom and it is all good with Chromiun or Firefox. INFO Te…

---

## [Unable to convert custom Selenium python keyword to use Browser Library](https://forum.robotframework.org/t/unable-to-convert-custom-selenium-python-keyword-to-use-browser-library/8758)

<div class="topic-metadata">

**Author:** [@jsproat](https://forum.robotframework.org/u/jsproat)\
**Replies:** 2\
**Last updated:** [11 April 2025 17:35 UTC](https://forum.robotframework.org/t/unable-to-convert-custom-selenium-python-keyword-to-use-browser-library/8758 "2025-04-11T17:35:18Z")

</div>

I am trying to convert these Selenium based custom keywords, to work with Browser: def get\_driver(override): if override == “browserLibrary”: logger.console(f"\\nGet Driver: Browser") driver = BuiltIn().get\_library\_i…

---

## [Robot Framework - Browser Library](https://forum.robotframework.org/t/robot-framework-browser-library/8760)

<div class="topic-metadata">

**Author:** [@ParameshwarA](https://forum.robotframework.org/u/ParameshwarA)\
**Replies:** 0\
**Last updated:** [9 April 2025 18:58 UTC](https://forum.robotframework.org/t/robot-framework-browser-library/8760 "2025-04-09T18:58:46Z")

</div>

Hi Team, I’m new to browser library in robot framework, recently I’ve installed this package and trying to automate some testcases. In documentation it says browserlibrary will open the browser in incognito mode by defau…

---

## [Could not connect to the playwright process at port XXXXX](https://forum.robotframework.org/t/could-not-connect-to-the-playwright-process-at-port-xxxxx/8532)

<div class="topic-metadata">

**Author:** [@NoobiDev94](https://forum.robotframework.org/u/NoobiDev94)\
**Replies:** 3\
**Last updated:** [7 April 2025 11:10 UTC](https://forum.robotframework.org/t/could-not-connect-to-the-playwright-process-at-port-xxxxx/8532 "2025-04-07T11:10:33Z")

</div>

I’m facing an issue: I can’t run my automation using the Browser Library in Docker within a WSL environment. I’ve tried multiple Dockerfiles and entrypoints, but they all return the same error. I receive a message statin…

---

## [Click fails randomly to produce "proper click"](https://forum.robotframework.org/t/click-fails-randomly-to-produce-proper-click/8681)

<div class="topic-metadata">

**Author:** [@rasjani](https://forum.robotframework.org/u/rasjani)\
**Replies:** 2\
**Last updated:** [20 March 2025 09:59 UTC](https://forum.robotframework.org/t/click-fails-randomly-to-produce-proper-click/8681 "2025-03-20T09:59:52Z")

</div>

SUT has html element button with multiple span elements inside it for visualization. I have a testcase that clicks on ID of the initial button (id is unique). This test case is executed 3 times (for all different lang…

---

## [Browser Library - Get Child Element By Role](https://forum.robotframework.org/t/browser-library-get-child-element-by-role/6886)

<div class="topic-metadata">

**Author:** [@wgomes](https://forum.robotframework.org/u/wgomes)\
**Replies:** 1\
**Last updated:** [19 March 2025 10:30 UTC](https://forum.robotframework.org/t/browser-library-get-child-element-by-role/6886 "2025-03-19T10:30:32Z")

</div>

Hello, I’m trying to access an element by its role and its accessibility name, then find a child of this element by role and accessibility name again. In playwright it could be done with the following line,: await page…

---

## [I have requirement to migrate Java Selenium code base to robotframework playwright , is there way to migrate the code?](https://forum.robotframework.org/t/i-have-requirement-to-migrate-java-selenium-code-base-to-robotframework-playwright-is-there-way-to-migrate-the-code/8458)

<div class="topic-metadata">

**Author:** [@AbhayPujari](https://forum.robotframework.org/u/AbhayPujari)\
**Replies:** 2\
**Last updated:** [19 February 2025 08:22 UTC](https://forum.robotframework.org/t/i-have-requirement-to-migrate-java-selenium-code-base-to-robotframework-playwright-is-there-way-to-migrate-the-code/8458 "2025-02-19T08:22:23Z")

</div>

We have around 2000 + UI test cases built using Selenium Java Test Ng and We wanted to migrate those test cases to Robot framework Playwright . but manual effort will not help to make quick migration of the code so need …

---

## [Evaluate JavaScript](https://forum.robotframework.org/t/evaluate-javascript/8484)

<div class="topic-metadata">

**Author:** [@\_daryl](https://forum.robotframework.org/u/_daryl)\
**Replies:** 5\
**Last updated:** [19 February 2025 05:41 UTC](https://forum.robotframework.org/t/evaluate-javascript/8484 "2025-02-19T05:41:24Z")

</div>

Hi I can run the below in the console without any problems. When I run it within robot using the browserlibrary, I get the returned error: Error: locator.evaluate: Unsupported token “{” while parsing css selector “(fun…

---

## [Robotframework Browser nested frames Handling](https://forum.robotframework.org/t/robotframework-browser-nested-frames-handling/8467)

<div class="topic-metadata">

**Author:** [@Akhil.sara](https://forum.robotframework.org/u/Akhil.sara)\
**Replies:** 1\
**Last updated:** [14 February 2025 13:02 UTC](https://forum.robotframework.org/t/robotframework-browser-nested-frames-handling/8467 "2025-02-14T13:02:04Z")

</div>

hi, Can some help we with handling the nested frames in browser library. I was not able to switch to the inner frame and perform actions on the elements.

---

## [Select Options By keyword not selecting the option](https://forum.robotframework.org/t/select-options-by-keyword-not-selecting-the-option/8438)

<div class="topic-metadata">

**Author:** [@Aero10](https://forum.robotframework.org/u/Aero10)\
**Replies:** 6\
**Last updated:** [13 February 2025 09:10 UTC](https://forum.robotframework.org/t/select-options-by-keyword-not-selecting-the-option/8438 "2025-02-13T09:10:02Z")

</div>

Hello all, I am having difficulties trying to select an option from a dropdown using the “Select Options By” keyword. Using “Get Select Options” with the dropdown locator successfully retrieves the dropdown options, in…

---

## [Promise To Wait For Download -- how to increase timeout?](https://forum.robotframework.org/t/promise-to-wait-for-download-how-to-increase-timeout/8441)

<div class="topic-metadata">

**Author:** [@JST81](https://forum.robotframework.org/u/JST81)\
**Replies:** 0\
**Last updated:** [11 February 2025 11:51 UTC](https://forum.robotframework.org/t/promise-to-wait-for-download-how-to-increase-timeout/8441 "2025-02-11T11:51:32Z")

</div>

Hello, I have some tests which press a button to generate and download a PDF file. Sometimes it takes longer than 10 seconds to do this, and the test will fail. I am using the following piece of code: ${dl\_promise} …

---

## [Taking screenshots at arbitrary points of test execution](https://forum.robotframework.org/t/taking-screenshots-at-arbitrary-points-of-test-execution/7946)

<div class="topic-metadata">

**Author:** [@rasjani](https://forum.robotframework.org/u/rasjani)\
**Replies:** 10\
**Last updated:** [12 February 2025 08:07 UTC](https://forum.robotframework.org/t/taking-screenshots-at-arbitrary-points-of-test-execution/7946 "2025-02-12T08:07:24Z")

</div>

Long story, hope I make myself clear. I want to take screenshots of the full page at any scenario where i have test failing. Browser has ability to take screenshots but that works only for Browser’s own keywords. Ok, b…

---

## [Empty traces folder left behind](https://forum.robotframework.org/t/empty-traces-folder-left-behind/7702)

<div class="topic-metadata">

**Author:** [@jarmake](https://forum.robotframework.org/u/jarmake)\
**Replies:** 5\
**Last updated:** [11 February 2025 18:59 UTC](https://forum.robotframework.org/t/empty-traces-folder-left-behind/7702 "2025-02-11T18:59:22Z")

</div>

When I run test cases and they finish, in my logs output directory is a new directory Browser/traces which has a directory named with a GUID, however that directory is empty. I guess that’s the Playwright’s temporary tra…

---

## [Browser library - Full page screenshot not working](https://forum.robotframework.org/t/browser-library-full-page-screenshot-not-working/8323)

<div class="topic-metadata">

**Author:** [@yadubhushan](https://forum.robotframework.org/u/yadubhushan)\
**Replies:** 6\
**Last updated:** [30 January 2025 00:23 UTC](https://forum.robotframework.org/t/browser-library-full-page-screenshot-not-working/8323 "2025-01-30T00:23:12Z")

</div>

Hi everyone, I have couple of items that I need suggestions on. Please take a look at below We have been automating the tests using browser library, however, ‘Take screenshot’ with ‘fullpage’ argument passed as ‘true…

---

## [Child Iframe----Enter Text and click submit button Inside Child Iframe](https://forum.robotframework.org/t/child-iframe-enter-text-and-click-submit-button-inside-child-iframe/8311)

<div class="topic-metadata">

**Author:** [@Mtest6835](https://forum.robotframework.org/u/Mtest6835)\
**Replies:** 5\
**Last updated:** [23 January 2025 19:31 UTC](https://forum.robotframework.org/t/child-iframe-enter-text-and-click-submit-button-inside-child-iframe/8311 "2025-01-23T19:31:52Z")

</div>

I need to enter otp as 1234 to an input field and click submit, button child iframe is not getting located. I have used multiple combination of xpaths or css, but no success. I have attached screenshot for your reference…

---

## [How to handle DOM in "Browser Library"](https://forum.robotframework.org/t/how-to-handle-dom-in-browser-library/8302)

<div class="topic-metadata">

**Author:** [@normus](https://forum.robotframework.org/u/normus)\
**Replies:** 3\
**Last updated:** [22 January 2025 14:36 UTC](https://forum.robotframework.org/t/how-to-handle-dom-in-browser-library/8302 "2025-01-22T14:36:59Z")

</div>

Hello, In our internal project we execute this command under chrome console : window.open(“services://services/space/user1”) This command execute Javascript under chrome and “sevices” is our internal protocole Pleas…

---

## [Browser Library Keywords](https://forum.robotframework.org/t/browser-library-keywords/8300)

<div class="topic-metadata">

**Author:** [@ajaybodake](https://forum.robotframework.org/u/ajaybodake)\
**Replies:** 4\
**Last updated:** [21 January 2025 11:54 UTC](https://forum.robotframework.org/t/browser-library-keywords/8300 "2025-01-21T11:54:13Z")

</div>

Keywords are not enabled.

---

## [Mailinator and firefox](https://forum.robotframework.org/t/mailinator-and-firefox/8289)

<div class="topic-metadata">

**Author:** [@rasjani](https://forum.robotframework.org/u/rasjani)\
**Replies:** 3\
**Last updated:** [17 January 2025 19:40 UTC](https://forum.robotframework.org/t/mailinator-and-firefox/8289 "2025-01-17T19:40:25Z")

</div>

This is a bit weird one. I have test scenario where i need to fetch OTP via email and the process has been working fine for over 6 months when i’ve been strictly using Chromium as a browser. Recently i added firefox als…

---

## [Mandatory Click Allow Location In Browser](https://forum.robotframework.org/t/mandatory-click-allow-location-in-browser/8286)

<div class="topic-metadata">

**Author:** [@Mtest6835](https://forum.robotframework.org/u/Mtest6835)\
**Replies:** 7\
**Last updated:** [15 January 2025 20:06 UTC](https://forum.robotframework.org/t/mandatory-click-allow-location-in-browser/8286 "2025-01-15T20:06:19Z")

</div>

I need to click on Allow Location Alert/dialogue which will load the rest of the content. If I am using grant permission=true, then required content for entering flight details not loading. So it’s mandatory to click o…

---

## [Chromium won't show JS alerts if using RF Browser](https://forum.robotframework.org/t/chromium-wont-show-js-alerts-if-using-rf-browser/8251)

<div class="topic-metadata">

**Author:** [@Axel](https://forum.robotframework.org/u/Axel)\
**Replies:** 4\
**Last updated:** [13 January 2025 09:03 UTC](https://forum.robotframework.org/t/chromium-wont-show-js-alerts-if-using-rf-browser/8251 "2025-01-13T09:03:09Z")

</div>

Hello, a problem with Chromium and/or Browser Library has been driving me crazy for a few weeks now. We are automating test cases where in some rare cases an alert needs to be acted upon. Previously, we always used Sele…

---

## [How to grab Network data from DevTools using BrowserLibray](https://forum.robotframework.org/t/how-to-grab-network-data-from-devtools-using-browserlibray/5381)

<div class="topic-metadata">

**Author:** [@syankovsky](https://forum.robotframework.org/u/syankovsky)\
**Replies:** 7\
**Last updated:** [13 January 2025 08:22 UTC](https://forum.robotframework.org/t/how-to-grab-network-data-from-devtools-using-browserlibray/5381 "2025-01-13T08:22:41Z")

</div>

Hey everyone, I’m trying to set up my tests so that they get logs from the Console and Network tabs in DevTools and save them in the log file after execution, when they are failed. I used “Get Console Log” in order to g…

---

## [Unable to Install node dependencies for Browser Library](https://forum.robotframework.org/t/unable-to-install-node-dependencies-for-browser-library/8252)

<div class="topic-metadata">

**Author:** [@Atla](https://forum.robotframework.org/u/Atla)\
**Replies:** 3\
**Last updated:** [8 January 2025 13:38 UTC](https://forum.robotframework.org/t/unable-to-install-node-dependencies-for-browser-library/8252 "2025-01-08T13:38:19Z")

</div>

I’m a complete newbie to Robot Framework and wanted to download the Browser Library to get started and try out some browser test automation. But whenever I try to run rfbrowser init, it gives me an error message. At th…

---

## [Switch to new browser window](https://forum.robotframework.org/t/switch-to-new-browser-window/8206)

<div class="topic-metadata">

**Author:** [@Mtest6835](https://forum.robotframework.org/u/Mtest6835)\
**Replies:** 10\
**Last updated:** [24 December 2024 17:51 UTC](https://forum.robotframework.org/t/switch-to-new-browser-window/8206 "2024-12-24T17:51:24Z")

</div>

The flow is: Flight search and payment. While execution at payment screen we have to click on frequent flier program which opens a new browser window. Could anyone please guide me here ? How to switch to new browser …

---

## [Chrome browser not opening all of a sudden](https://forum.robotframework.org/t/chrome-browser-not-opening-all-of-a-sudden/8202)

<div class="topic-metadata">

**Author:** [@dominique](https://forum.robotframework.org/u/dominique)\
**Replies:** 0\
**Last updated:** [21 December 2024 15:37 UTC](https://forum.robotframework.org/t/chrome-browser-not-opening-all-of-a-sudden/8202 "2024-12-21T15:37:53Z")

</div>

Chrome browser not opening all of a sudden, but the scripts are running in headless mode, I’ve checked Environment.config file as well, and compared it with a very old branch where it still launches, but still can not fi…

---

## [Maintain Browser Session from Custom Library](https://forum.robotframework.org/t/maintain-browser-session-from-custom-library/8163)

<div class="topic-metadata">

**Author:** [@rbfw](https://forum.robotframework.org/u/rbfw)\
**Replies:** 4\
**Last updated:** [16 December 2024 20:25 UTC](https://forum.robotframework.org/t/maintain-browser-session-from-custom-library/8163 "2024-12-16T20:25:37Z")

</div>

Problem: How do you maintain the session and pass it back to be used in a following Keyword? Error: Could not find active page my robot file has a test: authentication a user this is via a custom library which wor…

---

## [Need Help with Browser Automation Library for Non-Incognito Mode](https://forum.robotframework.org/t/need-help-with-browser-automation-library-for-non-incognito-mode/8168)

<div class="topic-metadata">

**Author:** [@krantikumara](https://forum.robotframework.org/u/krantikumara)\
**Replies:** 3\
**Last updated:** [16 December 2024 17:24 UTC](https://forum.robotframework.org/t/need-help-with-browser-automation-library-for-non-incognito-mode/8168 "2024-12-16T17:24:09Z")

</div>

I am currently facing a challenge with automating a web application using a browser automation library. According to my company’s policy, this application cannot be automated in “incognito” mode. Could anyone assist me b…

[Previous page](https://forum.robotframework.org/c/libraries/browser/36.md)

[Next page](https://forum.robotframework.org/c/libraries/browser/36.md?page=2)
