# Browser

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

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

**Page:** 8

---

## [Access browser console Logs from within Browser library](https://forum.robotframework.org/t/access-browser-console-logs-from-within-browser-library/4110)

<div class="topic-metadata">

**Author:** [@tomaspekarovic](https://forum.robotframework.org/u/tomaspekarovic)\
**Replies:** 3\
**Last updated:** [10 May 2023 08:49 UTC](https://forum.robotframework.org/t/access-browser-console-logs-from-within-browser-library/4110 "2023-05-10T08:49:21Z")

</div>

Hi again, I’m looking for way how to capture console logs from browser. I need to get informations that are stored there. I tried to do something like: async function captureLogs(page, logger) { logger("Did I run?")…

---

## [Grant Permissions usage in Browser Library](https://forum.robotframework.org/t/grant-permissions-usage-in-browser-library/5598)

<div class="topic-metadata">

**Author:** [@krantikumara](https://forum.robotframework.org/u/krantikumara)\
**Replies:** 2\
**Last updated:** [25 April 2023 06:46 UTC](https://forum.robotframework.org/t/grant-permissions-usage-in-browser-library/5598 "2023-04-25T06:46:20Z")

</div>

Hi, I am trying to automate MS Teams on Chrome web browser using Browser Library in Robot Framework. I am facing issue while automating dial a call from MS Teams. It is asking to grant permissions for Microphone and Cam…

---

## [Browser library on Mac?](https://forum.robotframework.org/t/browser-library-on-mac/5563)

<div class="topic-metadata">

**Author:** [@vtpeters](https://forum.robotframework.org/u/vtpeters)\
**Replies:** 0\
**Last updated:** [12 April 2023 13:23 UTC](https://forum.robotframework.org/t/browser-library-on-mac/5563 "2023-04-12T13:23:48Z")

</div>

Hi, I’m struggling to get the Browser library to work on my MacBook Pro 14 M1. The installation instructions on https://robotframework-browser.org seem to suggest that the Browser library can be installed and used on a…

---

## [Get Screenshot to test evidences](https://forum.robotframework.org/t/get-screenshot-to-test-evidences/5557)

<div class="topic-metadata">

**Author:** [@willianrosa](https://forum.robotframework.org/u/willianrosa)\
**Replies:** 2\
**Last updated:** [11 April 2023 14:15 UTC](https://forum.robotframework.org/t/get-screenshot-to-test-evidences/5557 "2023-04-11T14:15:20Z")

</div>

Dears, Could u help me? We’ve facing problems to get screenshots for evidencies using the keyword “Waiting for Element State”. The Web page under testing is unstable to open all elements and we’ve use VPN to connect o…

---

## [Cloudflare blocking my script as a bot](https://forum.robotframework.org/t/cloudflare-blocking-my-script-as-a-bot/5500)

<div class="topic-metadata">

**Author:** [@northernHemisphere](https://forum.robotframework.org/u/northernHemisphere)\
**Replies:** 5\
**Last updated:** [3 April 2023 20:20 UTC](https://forum.robotframework.org/t/cloudflare-blocking-my-script-as-a-bot/5500 "2023-04-03T20:20:05Z")

</div>

Does anyone have suggestions for checking for broken links on 3rd party web sites using Robot Framework? Cloudflare is protecting the target sites from “bots”? My web site has several dozen links on it to third party we…

---

## ['Maximum Browser Window' in Browser library](https://forum.robotframework.org/t/maximum-browser-window-in-browser-library/3563)

<div class="topic-metadata">

**Author:** [@GalManz](https://forum.robotframework.org/u/GalManz)\
**Replies:** 2\
**Last updated:** [27 March 2023 06:43 UTC](https://forum.robotframework.org/t/maximum-browser-window-in-browser-library/3563 "2023-03-27T06:43:42Z")

</div>

Hi, Which keyword in the Browser library do the same as the selenium library keyword ‘Maximum Browser Window’? Thanks

---

## [Evaluate Javascript in Browser](https://forum.robotframework.org/t/evaluate-javascript-in-browser/5495)

<div class="topic-metadata">

**Author:** [@Aero10](https://forum.robotframework.org/u/Aero10)\
**Replies:** 0\
**Last updated:** [25 March 2023 21:23 UTC](https://forum.robotframework.org/t/evaluate-javascript-in-browser/5495 "2023-03-25T21:23:11Z")

</div>

Hello all, I am having trouble getting JavaScript execution to work with Browser. I am trying to use Evaluate JavaScript keyword. I would like to check when page is loaded. If there is a better approach to that, sugges…

---

## [Defect in Get Table Cell Element with rowspan and colspan](https://forum.robotframework.org/t/defect-in-get-table-cell-element-with-rowspan-and-colspan/5475)

<div class="topic-metadata">

**Author:** [@northernHemisphere](https://forum.robotframework.org/u/northernHemisphere)\
**Replies:** 1\
**Last updated:** [21 March 2023 21:36 UTC](https://forum.robotframework.org/t/defect-in-get-table-cell-element-with-rowspan-and-colspan/5475 "2023-03-21T21:36:20Z")

</div>

I am trying to assert values in an HTML Table using “Get Table Cell Element” keyword. The table header th element uses rowspan and colspan. See screenshot. element has the wrong value in the call below. It is returnin…

---

## [Retry on browser library for failed test cases](https://forum.robotframework.org/t/retry-on-browser-library-for-failed-test-cases/5469)

<div class="topic-metadata">

**Author:** [@Tamer538](https://forum.robotframework.org/u/Tamer538)\
**Replies:** 2\
**Last updated:** [20 March 2023 11:47 UTC](https://forum.robotframework.org/t/retry-on-browser-library-for-failed-test-cases/5469 "2023-03-20T11:47:08Z")

</div>

If a test case fails on a browser library, is there an argument that can be added on context or browser to retry failed test cases automatically

---

## [Can Browser Library connect to a previously opened Browser session?](https://forum.robotframework.org/t/can-browser-library-connect-to-a-previously-opened-browser-session/5461)

<div class="topic-metadata">

**Author:** [@UnexpectedGrit](https://forum.robotframework.org/u/UnexpectedGrit)\
**Replies:** 1\
**Last updated:** [18 March 2023 22:35 UTC](https://forum.robotframework.org/t/can-browser-library-connect-to-a-previously-opened-browser-session/5461 "2023-03-18T22:35:18Z")

</div>

I have an automation task I’m trying to accomplish with the Browser Library (setting chromium), and that is to: 1) connect to a previously opened Browser session; 2) verify several selector values; 3) disconnect from …

---

## [Is it possible to access the clipboard running headless](https://forum.robotframework.org/t/is-it-possible-to-access-the-clipboard-running-headless/5452)

<div class="topic-metadata">

**Author:** [@robot\_alli](https://forum.robotframework.org/u/robot_alli)\
**Replies:** 1\
**Last updated:** [16 March 2023 17:45 UTC](https://forum.robotframework.org/t/is-it-possible-to-access-the-clipboard-running-headless/5452 "2023-03-16T17:45:37Z")

</div>

In the test is there a way to access the clipboard when running in headless mode?

---

## [WebDriverException: Message: \<!-- IE friendly error message walkround](https://forum.robotframework.org/t/webdriverexception-message-ie-friendly-error-message-walkround/2959)

<div class="topic-metadata">

**Author:** [@Brahim](https://forum.robotframework.org/u/Brahim)\
**Replies:** 7\
**Last updated:** [7 March 2023 07:36 UTC](https://forum.robotframework.org/t/webdriverexception-message-ie-friendly-error-message-walkround/2959 "2023-03-07T07:36:06Z")

</div>

Hello everyone, I have an error when I run my Tests, they fail only in my computer… The message is : WebDriverException: Message: \[ Message content over the li…

---

## [Error on Keyword 'Take Screenshot' using robotframework-browser==16.0.0](https://forum.robotframework.org/t/error-on-keyword-take-screenshot-using-robotframework-browser-16-0-0/5356)

<div class="topic-metadata">

**Author:** [@joaoMoreira](https://forum.robotframework.org/u/joaoMoreira)\
**Replies:** 2\
**Last updated:** [27 February 2023 13:57 UTC](https://forum.robotframework.org/t/error-on-keyword-take-screenshot-using-robotframework-browser-16-0-0/5356 "2023-02-27T13:57:07Z")

</div>

I’m receiving an error when I try to take a screenshot on Firefox 109 or Webkit 16.0 using the robotframework-browser 16.0.0. The error don’t happened on Chromiun 110. Keyword ‘Take Screenshot fail-screenshot-{index}’ …

---

## [Unresolved library: Browser. Error generating libspec: Initializing library 'Browser' with no arguments failed](https://forum.robotframework.org/t/unresolved-library-browser-error-generating-libspec-initializing-library-browser-with-no-arguments-failed/4530)

<div class="topic-metadata">

**Author:** [@marlonizag](https://forum.robotframework.org/u/marlonizag)\
**Replies:** 3\
**Last updated:** [13 February 2023 15:44 UTC](https://forum.robotframework.org/t/unresolved-library-browser-error-generating-libspec-initializing-library-browser-with-no-arguments-failed/4530 "2023-02-13T15:44:26Z")

</div>

I have already performed the following: Install node.js e.g. from Download | Node.js Update pip pip install -U pip to ensure latest version is used Install robotframework-browser from the commandline: pip install rob…

---

## [How to react on timeout](https://forum.robotframework.org/t/how-to-react-on-timeout/5255)

<div class="topic-metadata">

**Author:** [@bboxstart](https://forum.robotframework.org/u/bboxstart)\
**Replies:** 13\
**Last updated:** [7 February 2023 14:28 UTC](https://forum.robotframework.org/t/how-to-react-on-timeout/5255 "2023-02-07T14:28:32Z")

</div>

Hi, We have quite a bunch of Robot Framework tests for our application. We experience random occurrences of failed tests. One of the scenario’s that occurs is that a pop-up is displayed in an overlay with a message that…

---

## [Imported javascript routine is not recognized as Keyword](https://forum.robotframework.org/t/imported-javascript-routine-is-not-recognized-as-keyword/5201)

<div class="topic-metadata">

**Author:** [@Fran](https://forum.robotframework.org/u/Fran)\
**Replies:** 2\
**Last updated:** [4 February 2023 15:48 UTC](https://forum.robotframework.org/t/imported-javascript-routine-is-not-recognized-as-keyword/5201 "2023-02-04T15:48:47Z")

</div>

Hi I would like to check, whether a button on the screen is active, or not. I use Playwright, not Selenium. I would like to check the activity without pressing the button. This is the javascript code for the check : a…

---

## [Assert a Get Text with \<strong\> in the HTML markup](https://forum.robotframework.org/t/assert-a-get-text-with-strong-in-the-html-markup/5226)

<div class="topic-metadata">

**Author:** [@northernHemisphere](https://forum.robotframework.org/u/northernHemisphere)\
**Replies:** 9\
**Last updated:** [31 January 2023 14:46 UTC](https://forum.robotframework.org/t/assert-a-get-text-with-strong-in-the-html-markup/5226 "2023-01-31T14:46:49Z")

</div>

I am trying to assert contents of a tag in a test case. HTML fragment contains \<div id="result"\>\<strong\>42\</strong\> results\</div\> In my test case, this assertion fails because there are some invisible characters bef…

---

## [Browser library - Button not clickable inside shadow root](https://forum.robotframework.org/t/browser-library-button-not-clickable-inside-shadow-root/5184)

<div class="topic-metadata">

**Author:** [@megakrish](https://forum.robotframework.org/u/megakrish)\
**Replies:** 3\
**Last updated:** [30 January 2023 18:41 UTC](https://forum.robotframework.org/t/browser-library-button-not-clickable-inside-shadow-root/5184 "2023-01-30T18:41:46Z")

</div>

I am using browser library to automate our angular app. However i am not unable to click a button inside this shadow-root. Tried all locators and nothing seem to be working or its not identifying the locator at all T…

---

## [Playwright or Browser library](https://forum.robotframework.org/t/playwright-or-browser-library/5063)

<div class="topic-metadata">

**Author:** [@santoshmore121](https://forum.robotframework.org/u/santoshmore121)\
**Replies:** 9\
**Last updated:** [23 January 2023 16:56 UTC](https://forum.robotframework.org/t/playwright-or-browser-library/5063 "2023-01-23T16:56:43Z")

</div>

Hello, In my application, ShadowDOM elements are used, so finding it it difficult to identify using selenium library, so was exploring some other tools which supports ShadowDOM and i found that Browser library with Rob…

---

## [Five newbie questions (identifying locators, VS Code extensions, best practices, pipeline integration)](https://forum.robotframework.org/t/five-newbie-questions-identifying-locators-vs-code-extensions-best-practices-pipeline-integration/5192)

<div class="topic-metadata">

**Author:** [@ismi](https://forum.robotframework.org/u/ismi)\
**Replies:** 5\
**Last updated:** [20 January 2023 17:46 UTC](https://forum.robotframework.org/t/five-newbie-questions-identifying-locators-vs-code-extensions-best-practices-pipeline-integration/5192 "2023-01-20T17:46:14Z")

</div>

Hi there In my team we were exploring various test automation tools and ended up trying out Playwright and Robot Framework Browser Library (RFB). We decided to go with the latter. Since I was the one exploring Playwrigh…

---

## [Robotframework Angular support](https://forum.robotframework.org/t/robotframework-angular-support/5158)

<div class="topic-metadata">

**Author:** [@megakrish](https://forum.robotframework.org/u/megakrish)\
**Replies:** 6\
**Last updated:** [18 January 2023 14:55 UTC](https://forum.robotframework.org/t/robotframework-angular-support/5158 "2023-01-18T14:55:48Z")

</div>

Our app is currently build in angular 10 and do we have a support in robot framework that supports angular app? Currently we are using execute javascript function to interact with web elements and is there a library that…

---

## [Tests on Angular application not stable](https://forum.robotframework.org/t/tests-on-angular-application-not-stable/5152)

<div class="topic-metadata">

**Author:** [@bboxstart](https://forum.robotframework.org/u/bboxstart)\
**Replies:** 7\
**Last updated:** [17 January 2023 21:47 UTC](https://forum.robotframework.org/t/tests-on-angular-application-not-stable/5152 "2023-01-17T21:47:57Z")

</div>

Hi, We are using RF + Browser library for our Angular (15) based application. Works great, but when running tests from our Azure DevOps pipeline, we experience on average 3 random tests out of 90 which fail. We can’t re…

---

## [Save URL to a variable](https://forum.robotframework.org/t/save-url-to-a-variable/5155)

<div class="topic-metadata">

**Author:** [@olucasrangel](https://forum.robotframework.org/u/olucasrangel)\
**Replies:** 1\
**Last updated:** [10 January 2023 06:26 UTC](https://forum.robotframework.org/t/save-url-to-a-variable/5155 "2023-01-10T06:26:38Z")

</div>

Guys, I need to save a URL in a variable to use later. After I run an operation, the current page loads and I want to save the URL. Does anyone have a solution?

---

## [How to get a hidden text](https://forum.robotframework.org/t/how-to-get-a-hidden-text/5082)

<div class="topic-metadata">

**Author:** [@gerfred](https://forum.robotframework.org/u/gerfred)\
**Replies:** 1\
**Last updated:** [9 January 2023 07:47 UTC](https://forum.robotframework.org/t/how-to-get-a-hidden-text/5082 "2023-01-09T07:47:13Z")

</div>

Hello, Is there a tip to get and assert a hidden text in div? With Selenium, it works using Get Element Attribute id:myid textContent I try both without success ${dec\_text} Get Text css=div#myid == The t…

---

## [Can't access new page that opens when element is clicked](https://forum.robotframework.org/t/cant-access-new-page-that-opens-when-element-is-clicked/5040)

<div class="topic-metadata">

**Author:** [@PolinaS](https://forum.robotframework.org/u/PolinaS)\
**Replies:** 2\
**Last updated:** [14 December 2022 09:14 UTC](https://forum.robotframework.org/t/cant-access-new-page-that-opens-when-element-is-clicked/5040 "2022-12-14T09:14:57Z")

</div>

Hi, in my test I click on an element which opens a new page in the same browser. I can see this page. So browser has 2 pages, but “Get Page Ids” and “Get Browser Catalog” keywords return only one (first) page. Also Swit…

---

## [How can i pass library argument to take screenshot when testcase fail](https://forum.robotframework.org/t/how-can-i-pass-library-argument-to-take-screenshot-when-testcase-fail/5032)

<div class="topic-metadata">

**Author:** [@Tamer538](https://forum.robotframework.org/u/Tamer538)\
**Replies:** 2\
**Last updated:** [8 December 2022 12:11 UTC](https://forum.robotframework.org/t/how-can-i-pass-library-argument-to-take-screenshot-when-testcase-fail/5032 "2022-12-08T12:11:06Z")

</div>

How can i pass browser library argument to take a screenshot when test case fail as on playwright with example please I found this argument but It doesn’t work :label: run\_on\_failure=Take Screenshot \\ fail-screenshot-…

---

## [Error occured running rfbrowser.init](https://forum.robotframework.org/t/error-occured-running-rfbrowser-init/5004)

<div class="topic-metadata">

**Author:** [@Maarten](https://forum.robotframework.org/u/Maarten)\
**Replies:** 0\
**Last updated:** [30 November 2022 13:07 UTC](https://forum.robotframework.org/t/error-occured-running-rfbrowser-init/5004 "2022-11-30T13:07:12Z")

</div>

C:\\WINDOWS\\system32\>pip install robotframework-browser Collecting robotframework-browser Downloading robotframework\_browser-14.2.1-py3-none-any.whl (253 kB) ---------------------------------------- 253.6/253.6 kB 1…

---

## [Integrate Browser Library with Zelenium](https://forum.robotframework.org/t/integrate-browser-library-with-zelenium/4999)

<div class="topic-metadata">

**Author:** [@Tamer538](https://forum.robotframework.org/u/Tamer538)\
**Replies:** 2\
**Last updated:** [29 November 2022 23:16 UTC](https://forum.robotframework.org/t/integrate-browser-library-with-zelenium/4999 "2022-11-29T23:16:28Z")

</div>

how can i Integrate a project using Browser Library with Zalando zalenium to run tests on it

---

## [Open Browser headless not rendering page](https://forum.robotframework.org/t/open-browser-headless-not-rendering-page/4991)

<div class="topic-metadata">

**Author:** [@SNavgale](https://forum.robotframework.org/u/SNavgale)\
**Replies:** 4\
**Last updated:** [29 November 2022 13:55 UTC](https://forum.robotframework.org/t/open-browser-headless-not-rendering-page/4991 "2022-11-29T13:55:13Z")

</div>

Hi All, I have issue with one URL which doesn’t render properly with new page or even headless Open Browser. If I use headless=false in Open Browser the page is rendered correctly and all buttons are visible and automat…

---

## [How to get style attribute with Browser Library](https://forum.robotframework.org/t/how-to-get-style-attribute-with-browser-library/4988)

<div class="topic-metadata">

**Author:** [@wassupdev](https://forum.robotframework.org/u/wassupdev)\
**Replies:** 1\
**Last updated:** [25 November 2022 16:21 UTC](https://forum.robotframework.org/t/how-to-get-style-attribute-with-browser-library/4988 "2022-11-25T16:21:38Z")

</div>

So, i’m trying to make my automation validate the color of a text element using Browser Library Then I tried the following line: ${element\_style}= Get Attribute xpath=//span\[contains(text(),"text to be validated")\] …

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

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