# Browser

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

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

**Page:** 7

---

## [Set value for browserType.launch timeout](https://forum.robotframework.org/t/set-value-for-browsertype-launch-timeout/6464)

<div class="topic-metadata">

**Author:** [@phjfranssen](https://forum.robotframework.org/u/phjfranssen)\
**Replies:** 2\
**Last updated:** [13 November 2023 20:05 UTC](https://forum.robotframework.org/t/set-value-for-browsertype-launch-timeout/6464 "2023-11-13T20:05:58Z")

</div>

Hi all, Is there a way to expand the timeout as written below: TimeoutError: browserType.launch: Timeout 30000ms exceeded I tried using Set Browser Timeout to 60 seconds, but I’m still getting this error message with …

---

## [Using Browser, how to continue testing a page in another test case (same suite test)](https://forum.robotframework.org/t/using-browser-how-to-continue-testing-a-page-in-another-test-case-same-suite-test/6337)

<div class="topic-metadata">

**Author:** [@Alexandre](https://forum.robotframework.org/u/Alexandre)\
**Replies:** 2\
**Last updated:** [8 November 2023 16:32 UTC](https://forum.robotframework.org/t/using-browser-how-to-continue-testing-a-page-in-another-test-case-same-suite-test/6337 "2023-11-08T16:32:21Z")

</div>

Hi ! I am new with Browser Library, I am trying to test a web app. I create a test case where I manage to create a browser, context and page and I manage to do what I want. But I want to continue with another test case…

---

## [Checkbox Slider Status unable to get](https://forum.robotframework.org/t/checkbox-slider-status-unable-to-get/6432)

<div class="topic-metadata">

**Author:** [@Birger](https://forum.robotframework.org/u/Birger)\
**Replies:** 1\
**Last updated:** [6 November 2023 13:59 UTC](https://forum.robotframework.org/t/checkbox-slider-status-unable-to-get/6432 "2023-11-06T13:59:46Z")

</div>

Hi Folks, I’m beginner in robot automation and facing a problem getting the status of that slider. Browser.Click //\*\[@data-at-whatever\] works fine. So I have no doubts that there is a locator Issue. For my test I…

---

## [Alternative to: Element Should Be Visible](https://forum.robotframework.org/t/alternative-to-element-should-be-visible/5262)

<div class="topic-metadata">

**Author:** [@Aero10](https://forum.robotframework.org/u/Aero10)\
**Replies:** 6\
**Last updated:** [4 November 2023 22:16 UTC](https://forum.robotframework.org/t/alternative-to-element-should-be-visible/5262 "2023-11-04T22:16:52Z")

</div>

Hello all, I am wondering whether there is an alternative to Element Should Be Visible keyword from SeleniumLibrary in the Browser library? It is a useful keyword to me, as well as some other "Should be"s. Did you repl…

---

## [Anyway to launch integrated tests on device farms like Sauce labs or Lambda test?](https://forum.robotframework.org/t/anyway-to-launch-integrated-tests-on-device-farms-like-sauce-labs-or-lambda-test/6412)

<div class="topic-metadata">

**Author:** [@sathishkumar.chin](https://forum.robotframework.org/u/sathishkumar.chin)\
**Replies:** 0\
**Last updated:** [30 October 2023 12:47 UTC](https://forum.robotframework.org/t/anyway-to-launch-integrated-tests-on-device-farms-like-sauce-labs-or-lambda-test/6412 "2023-10-30T12:47:41Z")

</div>

Anyway to launch integrated tests on device farms like Sauce labs or Lambda test ? Today I get error like below Keyword ‘Browser.New Browser’ got unexpected named arguments ‘desired\_capabilities’ and ‘remote\_url’.

---

## [Dependencie "rfbrowser init" giving an error log: UnicodeEncodeError: 'charmap' codec can't encode characters in position 36-51: character maps to \<undefined\>](https://forum.robotframework.org/t/dependencie-rfbrowser-init-giving-an-error-log-unicodeencodeerror-charmap-codec-cant-encode-characters-in-position-36-51-character-maps-to-undefined/6253)

<div class="topic-metadata">

**Author:** [@JoostW](https://forum.robotframework.org/u/JoostW)\
**Replies:** 4\
**Last updated:** [27 September 2023 08:45 UTC](https://forum.robotframework.org/t/dependencie-rfbrowser-init-giving-an-error-log-unicodeencodeerror-charmap-codec-cant-encode-characters-in-position-36-51-character-maps-to-undefined/6253 "2023-09-27T08:45:24Z")

</div>

Hi there, the dependencie “rfbrowser init” gives the folowwing error log: UnicodeEncodeError: ‘charmap’ codec can’t encode characters in position 36-43: character maps to I use the latest robotframework-browser ve…

---

## [MFA from Microsoft](https://forum.robotframework.org/t/mfa-from-microsoft/5606)

<div class="topic-metadata">

**Author:** [@matheusbarcelos](https://forum.robotframework.org/u/matheusbarcelos)\
**Replies:** 2\
**Last updated:** [26 April 2023 11:43 UTC](https://forum.robotframework.org/t/mfa-from-microsoft/5606 "2023-04-26T11:43:56Z")

</div>

I need to develop the login in a test automation, where there is authentication in the second factor (oauth2) from Microsoft(Microsoft Authenticator). I searched in several places, I didn’t find any documentation or exa…

---

## [Change value of a variable used in a variable](https://forum.robotframework.org/t/change-value-of-a-variable-used-in-a-variable/6217)

<div class="topic-metadata">

**Author:** [@patrio](https://forum.robotframework.org/u/patrio)\
**Replies:** 3\
**Last updated:** [18 September 2023 08:51 UTC](https://forum.robotframework.org/t/change-value-of-a-variable-used-in-a-variable/6217 "2023-09-18T08:51:56Z")

</div>

Hi, as I want to eliminate code duplication I am trying to create a variable with element xpath which has another variable in it. I created a keyword with argument and then set the value of the variable in the xpath as y…

---

## [New Persistent Context - not switching page](https://forum.robotframework.org/t/new-persistent-context-not-switching-page/6212)

<div class="topic-metadata">

**Author:** [@shahshad](https://forum.robotframework.org/u/shahshad)\
**Replies:** 1\
**Last updated:** [14 September 2023 09:48 UTC](https://forum.robotframework.org/t/new-persistent-context-not-switching-page/6212 "2023-09-14T09:48:42Z")

</div>

Coded with New Persistent Context for changing the chrome settings while running and clicking the xpath it redirected to new page but in keyword ‘Get Page Ids’ not getting id of new page id and also not switching to new …

---

## [Checking body value in response while using Wait for Response](https://forum.robotframework.org/t/checking-body-value-in-response-while-using-wait-for-response/6206)

<div class="topic-metadata">

**Author:** [@TomekWro](https://forum.robotframework.org/u/TomekWro)\
**Replies:** 0\
**Last updated:** [13 September 2023 12:10 UTC](https://forum.robotframework.org/t/checking-body-value-in-response-while-using-wait-for-response/6206 "2023-09-13T12:10:25Z")

</div>

Hello, I’m trying to create code with Wait for Response: Wait For Response response =\> response.url().endsWith(‘/api’) && response.status() == 200 but i would like to check if response has value inside body. Is the…

---

## [Click keyword deprication in the latest Browser lib](https://forum.robotframework.org/t/click-keyword-deprication-in-the-latest-browser-lib/6133)

<div class="topic-metadata">

**Author:** [@Robot-J](https://forum.robotframework.org/u/Robot-J)\
**Replies:** 3\
**Last updated:** [31 August 2023 10:30 UTC](https://forum.robotframework.org/t/click-keyword-deprication-in-the-latest-browser-lib/6133 "2023-08-31T10:30:50Z")

</div>

Hey, as I get a warning that Click arguments are going to be depricated, does it mean the keyword “click” will be depricated and i need to swap all those to click with options? https://marketsquare.github.io/robotframew…

---

## [Cannot Select SVG in Shadow](https://forum.robotframework.org/t/cannot-select-svg-in-shadow/6088)

<div class="topic-metadata">

**Author:** [@thompsonjm14](https://forum.robotframework.org/u/thompsonjm14)\
**Replies:** 2\
**Last updated:** [30 August 2023 12:37 UTC](https://forum.robotframework.org/t/cannot-select-svg-in-shadow/6088 "2023-08-30T12:37:14Z")

</div>

Hey all, I’ve been struggling quite a lot with this issue. I’m attempting to click a SVG inside a shadow root and have failed miserably to find the correct syntax for doing so. I’m trying to click the pencil icon in thi…

---

## [Capturing session information](https://forum.robotframework.org/t/capturing-session-information/4825)

<div class="topic-metadata">

**Author:** [@hemu434](https://forum.robotframework.org/u/hemu434)\
**Replies:** 2\
**Last updated:** [19 August 2023 19:11 UTC](https://forum.robotframework.org/t/capturing-session-information/4825 "2023-08-19T19:11:43Z")

</div>

Hello, I’m trying to capture the session information into a HAR file. But when I run my robot test, I could see that the HAR file is getting created. However, the file contains limited session information. Libraries Us…

---

## [What Browser Library call to detect web-based error message?](https://forum.robotframework.org/t/what-browser-library-call-to-detect-web-based-error-message/6061)

<div class="topic-metadata">

**Author:** [@UnexpectedGrit](https://forum.robotframework.org/u/UnexpectedGrit)\
**Replies:** 4\
**Last updated:** [16 August 2023 16:14 UTC](https://forum.robotframework.org/t/what-browser-library-call-to-detect-web-based-error-message/6061 "2023-08-16T16:14:38Z")

</div>

I have a Robot Framework test that connects with a web-site and during test execution, a web-based message box appears asking user to either click “Try Again” or “Cancel”. I have 2 questions: Using the Browser Library…

---

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

<div class="topic-metadata">

**Author:** [@augusto](https://forum.robotframework.org/u/augusto)\
**Replies:** 1\
**Last updated:** [11 August 2023 16:55 UTC](https://forum.robotframework.org/t/could-not-connect-to-the-playwright-process-at-port/2454 "2023-08-11T16:55:59Z")

</div>

Hey everyone, I’m having problems with the library browser (playwright). I appreciate if anyone can help. The error is occurring: Calling method ‘\_start\_suite’ of listener ‘Browser’ failed: Could not connect to the pla…

---

## [How to test css features](https://forum.robotframework.org/t/how-to-test-css-features/6079)

<div class="topic-metadata">

**Author:** [@Mahesh](https://forum.robotframework.org/u/Mahesh)\
**Replies:** 1\
**Last updated:** [9 August 2023 07:12 UTC](https://forum.robotframework.org/t/how-to-test-css-features/6079 "2023-08-09T07:12:15Z")

</div>

How to Validate Css features. For example to test Color of the element .

---

## [Iframe selectors, notation](https://forum.robotframework.org/t/iframe-selectors-notation/5823)

<div class="topic-metadata">

**Author:** [@Aero10](https://forum.robotframework.org/u/Aero10)\
**Replies:** 7\
**Last updated:** [6 August 2023 12:06 UTC](https://forum.robotframework.org/t/iframe-selectors-notation/5823 "2023-08-06T12:06:34Z")

</div>

Hello all, I am writing test cases for a web app and most of action is happening inside an iframe. Fortunately, it is just one iframe and interacting with elements works simply by prefixing selectors with: //iframe \>\>\> …

---

## [Using Playwright Python instead Playwright JS?](https://forum.robotframework.org/t/using-playwright-python-instead-playwright-js/6028)

<div class="topic-metadata">

**Author:** [@orenault](https://forum.robotframework.org/u/orenault)\
**Replies:** 1\
**Last updated:** [4 August 2023 19:22 UTC](https://forum.robotframework.org/t/using-playwright-python-instead-playwright-js/6028 "2023-08-04T19:22:00Z")

</div>

Hi, RF-Browser is based on the Playwright JS version. But a Playwright Python is also available. Do you plan to switch on the Playwright Python version, so removing the need to install NodeJS as a dependency ? Regards …

---

## [Browser Issue on running on gitlab ci cd yaml file](https://forum.robotframework.org/t/browser-issue-on-running-on-gitlab-ci-cd-yaml-file/6002)

<div class="topic-metadata">

**Author:** [@Cem](https://forum.robotframework.org/u/Cem)\
**Replies:** 4\
**Last updated:** [26 July 2023 16:22 UTC](https://forum.robotframework.org/t/browser-issue-on-running-on-gitlab-ci-cd-yaml-file/6002 "2023-07-26T16:22:34Z")

</div>

Hello everyone, i am a beginner in robot framework. I created a test and as well pushed to my repository. I can successfully run it locally but my pipeline (gitlab) is failing and i cant follow the issue. My webdriver…

---

## [Robotframework-browser httpcredentials uncreatable](https://forum.robotframework.org/t/robotframework-browser-httpcredentials-uncreatable/5385)

<div class="topic-metadata">

**Author:** [@dumontjudea2](https://forum.robotframework.org/u/dumontjudea2)\
**Replies:** 14\
**Last updated:** [26 July 2023 14:45 UTC](https://forum.robotframework.org/t/robotframework-browser-httpcredentials-uncreatable/5385 "2023-07-26T14:45:20Z")

</div>

I cannot create HttpCredentials in anyway including what the docs state: New Context httpCredentials={‘username’: ‘admin’, ‘password’: ‘123456’} ValueError: Direct assignment of values or variables as ‘httpCredentia…

---

## [How to use browser library in rf](https://forum.robotframework.org/t/how-to-use-browser-library-in-rf/5981)

<div class="topic-metadata">

**Author:** [@testingguser](https://forum.robotframework.org/u/testingguser)\
**Replies:** 2\
**Last updated:** [24 July 2023 15:38 UTC](https://forum.robotframework.org/t/how-to-use-browser-library-in-rf/5981 "2023-07-24T15:38:35Z")

</div>

issue steps related to the given topic in robotframework

---

## [Can any one help me with checking a check box using browser library](https://forum.robotframework.org/t/can-any-one-help-me-with-checking-a-check-box-using-browser-library/5945)

<div class="topic-metadata">

**Author:** [@safwatmekawy](https://forum.robotframework.org/u/safwatmekawy)\
**Replies:** 2\
**Last updated:** [16 July 2023 21:32 UTC](https://forum.robotframework.org/t/can-any-one-help-me-with-checking-a-check-box-using-browser-library/5945 "2023-07-16T21:32:09Z")

</div>

i have tried these both keywords but no hope TermsAndConditions\_check\_checkbox Browser.Click //\*\[@id="termsAndConditions"\] Check Checkbox //\*\[@id="termsAndConditions"\]

---

## [Getting the Page Instance](https://forum.robotframework.org/t/getting-the-page-instance/5733)

<div class="topic-metadata">

**Author:** [@terry.jp](https://forum.robotframework.org/u/terry.jp)\
**Replies:** 4\
**Last updated:** [14 July 2023 09:47 UTC](https://forum.robotframework.org/t/getting-the-page-instance/5733 "2023-07-14T09:47:32Z")

</div>

I need to get the playwright.sync\_api.Page instance that is being used by Browser so that I can pass this to an SDK and create my own custom Keyword that I am trying to incorporate into my code. Is there any way of doin…

---

## [Import Error while testing example script with python](https://forum.robotframework.org/t/import-error-while-testing-example-script-with-python/5783)

<div class="topic-metadata">

**Author:** [@robot\_user](https://forum.robotframework.org/u/robot_user)\
**Replies:** 0\
**Last updated:** [5 June 2023 06:11 UTC](https://forum.robotframework.org/t/import-error-while-testing-example-script-with-python/5783 "2023-06-05T06:11:43Z")

</div>

I have recently installed robotframework browser on ubuntu 20.04 and using node js lts, pycharm and anaconda python 3.10 installation. I am very new to this entire ecosystem. While running example script, I am getting b…

---

## [Using Keyboard Key to send combined keys](https://forum.robotframework.org/t/using-keyboard-key-to-send-combined-keys/5731)

<div class="topic-metadata">

**Author:** [@milovdk](https://forum.robotframework.org/u/milovdk)\
**Replies:** 2\
**Last updated:** [31 May 2023 06:39 UTC](https://forum.robotframework.org/t/using-keyboard-key-to-send-combined-keys/5731 "2023-05-31T06:39:46Z")

</div>

Hello everyone, I’m pretty new to Robot Framework (Browser Library) and I’m trying to find a way to send combined keyboard keys to the SUT without using a locator. I’ve searched for quite some time but can’t find the an…

---

## [Docker Container: Could not connect to the playwright process at port](https://forum.robotframework.org/t/docker-container-could-not-connect-to-the-playwright-process-at-port/4870)

<div class="topic-metadata">

**Author:** [@terry.jp](https://forum.robotframework.org/u/terry.jp)\
**Replies:** 3\
**Last updated:** [26 May 2023 21:25 UTC](https://forum.robotframework.org/t/docker-container-could-not-connect-to-the-playwright-process-at-port/4870 "2023-05-26T21:25:35Z")

</div>

Whilst running tests using pabot in a Docker container whilst extending Browser library with a JavaScript module some failures occur due to not being able to connect to playwright process. See stack trace at the bottom. …

---

## [Import multiple js modules](https://forum.robotframework.org/t/import-multiple-js-modules/5742)

<div class="topic-metadata">

**Author:** [@Trinket](https://forum.robotframework.org/u/Trinket)\
**Replies:** 0\
**Last updated:** [25 May 2023 14:08 UTC](https://forum.robotframework.org/t/import-multiple-js-modules/5742 "2023-05-25T14:08:34Z")

</div>

Hello I came across a way to import keywords defined in https://marketsquare.github.io/robotframework-browser/Browser.html#Keywords But in my use case we have different module files with their own exports. Is there a wa…

---

## [Clicking menu item that is not in view](https://forum.robotframework.org/t/clicking-menu-item-that-is-not-in-view/5684)

<div class="topic-metadata">

**Author:** [@Aero10](https://forum.robotframework.org/u/Aero10)\
**Replies:** 6\
**Last updated:** [22 May 2023 09:20 UTC](https://forum.robotframework.org/t/clicking-menu-item-that-is-not-in-view/5684 "2023-05-22T09:20:16Z")

</div>

Hello everyone, I would like to ask for help on a challenge I can’t seem to find a solution to. For example, if you go to Browser Library Keyword documentation and search for xpath: //ul\[@id="keyword-shortcuts-containe…

---

## [Find an element on page 3 of 3](https://forum.robotframework.org/t/find-an-element-on-page-3-of-3/5701)

<div class="topic-metadata">

**Author:** [@UnexpectedGrit](https://forum.robotframework.org/u/UnexpectedGrit)\
**Replies:** 3\
**Last updated:** [15 May 2023 17:35 UTC](https://forum.robotframework.org/t/find-an-element-on-page-3-of-3/5701 "2023-05-15T17:35:26Z")

</div>

I have a Page that displays 50 items per page. The element I’m looking for is located on page 3 of 3. When page 1 of 3 appears, the first 50 items are displayed, and I search using an XPath command like: Set Local Var…

---

## [I want to block pop-ups when I open a new tab on Chromium](https://forum.robotframework.org/t/i-want-to-block-pop-ups-when-i-open-a-new-tab-on-chromium/5507)

<div class="topic-metadata">

**Author:** [@TiuCadu](https://forum.robotframework.org/u/TiuCadu)\
**Replies:** 2\
**Last updated:** [12 May 2023 18:57 UTC](https://forum.robotframework.org/t/i-want-to-block-pop-ups-when-i-open-a-new-tab-on-chromium/5507 "2023-05-12T18:57:39Z")

</div>

I searched for various information and didn’t find a way to block pop-ups. I tried the example below, but it doesn’t work. Can someone help me? Bellow my code \*\*\* Comments \*\*\* Documentation … Suite with common syste…

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

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