# SeleniumLibrary

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

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

**Page:** 3

---

## [Injecting custom driver instance in SeleniumLibrary](https://forum.robotframework.org/t/injecting-custom-driver-instance-in-seleniumlibrary/7374)

<div class="topic-metadata">

**Author:** [@MummanaSubramanya](https://forum.robotframework.org/u/MummanaSubramanya)\
**Replies:** 1\
**Last updated:** [4 June 2024 17:14 UTC](https://forum.robotframework.org/t/injecting-custom-driver-instance-in-seleniumlibrary/7374 "2024-06-04T17:14:35Z")

</div>

is there a way to inject my custom driver instance into SeleniumLibrary instead using its own driver. Example: I have a remote webdriver driver instance I want to inject into SeleniumLibrary and later use selenium libra…

---

## [Issue: kyeword auto-suggestion in robotframework-seleniumlibrary](https://forum.robotframework.org/t/issue-kyeword-auto-suggestion-in-robotframework-seleniumlibrary/7364)

<div class="topic-metadata">

**Author:** [@ajaybodake1](https://forum.robotframework.org/u/ajaybodake1)\
**Replies:** 1\
**Last updated:** [3 June 2024 18:07 UTC](https://forum.robotframework.org/t/issue-kyeword-auto-suggestion-in-robotframework-seleniumlibrary/7364 "2024-06-03T18:07:04Z")

</div>

Hi, I am not getting kyeword auto-suggestion after upgraded the robotframework-seleniumlibrary. it was working woth robotframework-seleniumlibrary version 3xxx.

---

## [Issue: AttributeError: 'WebDriver' object has no attribute 'find\_elements\_by\_xpath'](https://forum.robotframework.org/t/issue-attributeerror-webdriver-object-has-no-attribute-find-elements-by-xpath/5687)

<div class="topic-metadata">

**Author:** [@Toan\_Nguyen](https://forum.robotframework.org/u/Toan_Nguyen)\
**Replies:** 3\
**Last updated:** [3 June 2024 16:22 UTC](https://forum.robotframework.org/t/issue-attributeerror-webdriver-object-has-no-attribute-find-elements-by-xpath/5687 "2024-06-03T16:22:38Z")

</div>

Hi all, I am having the following problem: AttributeError: ‘WebDriver’ object has no attribute ‘find\_elements\_by\_xpath’. Currently, I am using the following versions: requests 2.24.0 robotframewor…

---

## [Robot Framework automatically taking screenshots at every step](https://forum.robotframework.org/t/robot-framework-automatically-taking-screenshots-at-every-step/6799)

<div class="topic-metadata">

**Author:** [@nman39](https://forum.robotframework.org/u/nman39)\
**Replies:** 7\
**Last updated:** [2 May 2024 07:31 UTC](https://forum.robotframework.org/t/robot-framework-automatically-taking-screenshots-at-every-step/6799 "2024-05-02T07:31:55Z")

</div>

I gave a keyword which basically simulates moving across a chart and hovering over each point in the chart. I am using mouse over to do this. what I have seen is that at each mouse over, robot is taking a screenshot whic…

---

## [Choose file not working properly](https://forum.robotframework.org/t/choose-file-not-working-properly/2339)

<div class="topic-metadata">

**Author:** [@nivaldofe](https://forum.robotframework.org/u/nivaldofe)\
**Replies:** 14\
**Last updated:** [26 April 2024 13:45 UTC](https://forum.robotframework.org/t/choose-file-not-working-properly/2339 "2024-04-26T13:45:34Z")

</div>

Hi, guys. Could you help me with this issue? I have two scenarios here: 1 - I’m using choose file xpath/class ${path} in a field that a can select only one image. In this particular case, to change the background of t…

---

## [Protocol error in Jenkins Pipeline](https://forum.robotframework.org/t/protocol-error-in-jenkins-pipeline/7206)

<div class="topic-metadata">

**Author:** [@sarath](https://forum.robotframework.org/u/sarath)\
**Replies:** 1\
**Last updated:** [24 April 2024 09:02 UTC](https://forum.robotframework.org/t/protocol-error-in-jenkins-pipeline/7206 "2024-04-24T09:02:26Z")

</div>

Hello all, We are using robotframework with selenium for browser automation along with Pabot in jenkins pipeline.Getting error ProtocolError: (‘Connection aborted.’, ConnectionResetError(104, ‘Connection reset by peer’)…

---

## [How to get individual property values of element - Robot framework](https://forum.robotframework.org/t/how-to-get-individual-property-values-of-element-robot-framework/7189)

<div class="topic-metadata">

**Author:** [@STBN03](https://forum.robotframework.org/u/STBN03)\
**Replies:** 1\
**Last updated:** [18 April 2024 18:13 UTC](https://forum.robotframework.org/t/how-to-get-individual-property-values-of-element-robot-framework/7189 "2024-04-18T18:13:01Z")

</div>

Hi, One of the element on the page has dynamically changing rows. How can I get the rowcount Element : Here aria-rowcount=“8” is variable. I can identify the element //div\[@class=“className”\]. How to get value of th…

---

## [Attach Edge Browser](https://forum.robotframework.org/t/attach-edge-browser/7165)

<div class="topic-metadata">

**Author:** [@StratoKyke](https://forum.robotframework.org/u/StratoKyke)\
**Replies:** 1\
**Last updated:** [15 April 2024 13:32 UTC](https://forum.robotframework.org/t/attach-edge-browser/7165 "2024-04-15T13:32:26Z")

</div>

Is possibile to Attach Edge Browser already launch with debugging port? Similar with Attach Chrome Browser? Thanks for the reply.

---

## [Chromium Edge Browser arguments "user-data-dir"](https://forum.robotframework.org/t/chromium-edge-browser-arguments-user-data-dir/1723)

<div class="topic-metadata">

**Author:** [@nishar.qtp](https://forum.robotframework.org/u/nishar.qtp)\
**Replies:** 10\
**Last updated:** [14 April 2024 13:02 UTC](https://forum.robotframework.org/t/chromium-edge-browser-arguments-user-data-dir/1723 "2024-04-14T13:02:10Z")

</div>

Hi, How can we use “user-data-dir” argument when using edge browser in robot framework - SeleniumLibrary? Following is the issue am facing - when ever I open the edge browser using selenium, then Edge browser requires m…

---

## [Getting the error message like" Failed to establish a new connection" when I opened the outlook to browser 2](https://forum.robotframework.org/t/getting-the-error-message-like-failed-to-establish-a-new-connection-when-i-opened-the-outlook-to-browser-2/7158)

<div class="topic-metadata">

**Author:** [@samta](https://forum.robotframework.org/u/samta)\
**Replies:** 0\
**Last updated:** [12 April 2024 01:45 UTC](https://forum.robotframework.org/t/getting-the-error-message-like-failed-to-establish-a-new-connection-when-i-opened-the-outlook-to-browser-2/7158 "2024-04-12T01:45:46Z")

</div>

Hi, I have tried below code and when I opened the outlook in browser 2 then getting the below error message. Please suggest me how to fix this issue? Error message: Code of the script: \*\*\* Keywords \*\*\* Login with…

---

## [Syntax error with Evaluate JavaScript](https://forum.robotframework.org/t/syntax-error-with-evaluate-javascript/7106)

<div class="topic-metadata">

**Author:** [@PavelK](https://forum.robotframework.org/u/PavelK)\
**Replies:** 6\
**Last updated:** [4 April 2024 09:14 UTC](https://forum.robotframework.org/t/syntax-error-with-evaluate-javascript/7106 "2024-04-04T09:14:19Z")

</div>

Hi guys, I’m trying to implement a simple Evaluate JavaScript code, but I keep getting a syntax error. here is the code: ${el}= SeleniumLibrary.Get WebElement ${LoginButton} ${actualText}= Evaluate JavaSc…

---

## [How to get a string from an element, regardless of element type](https://forum.robotframework.org/t/how-to-get-a-string-from-an-element-regardless-of-element-type/7090)

<div class="topic-metadata">

**Author:** [@PavelK](https://forum.robotframework.org/u/PavelK)\
**Replies:** 2\
**Last updated:** [2 April 2024 07:47 UTC](https://forum.robotframework.org/t/how-to-get-a-string-from-an-element-regardless-of-element-type/7090 "2024-04-02T07:47:24Z")

</div>

Hi folks, I found out, that there are Get Text and Get Value keywords, to obtain the string from defined element. However, these keywords will work only if you know for sure, that the element in provided locator have st…

---

## [How to wait for an element containing certain string?](https://forum.robotframework.org/t/how-to-wait-for-an-element-containing-certain-string/7088)

<div class="topic-metadata">

**Author:** [@PavelK](https://forum.robotframework.org/u/PavelK)\
**Replies:** 2\
**Last updated:** [28 March 2024 12:18 UTC](https://forum.robotframework.org/t/how-to-wait-for-an-element-containing-certain-string/7088 "2024-03-28T12:18:25Z")

</div>

Hi folks, As the subject describes, I’m looking for a way to wait for an element, containing certain string. I know there is a keyword Wait Until Element Contains. But this works only if the string is located in Text at…

---

## [Get text from css element returns no results](https://forum.robotframework.org/t/get-text-from-css-element-returns-no-results/7061)

<div class="topic-metadata">

**Author:** [@SteL](https://forum.robotframework.org/u/SteL)\
**Replies:** 9\
**Last updated:** [26 March 2024 13:21 UTC](https://forum.robotframework.org/t/get-text-from-css-element-returns-no-results/7061 "2024-03-26T13:21:08Z")

</div>

Hello everyone, I am trying to save the value (number) behind the class=“case\_title”. Original code: 00303712 My code: Open Browser ${URL} browser=chrome ${element}= Get Text css=.case\_title Set Global V…

---

## [How do you manipulate the functions "Wait Until Element is Visbile", "Scroll" and Click Element"](https://forum.robotframework.org/t/how-do-you-manipulate-the-functions-wait-until-element-is-visbile-scroll-and-click-element/6947)

<div class="topic-metadata">

**Author:** [@PedroAugusto](https://forum.robotframework.org/u/PedroAugusto)\
**Replies:** 5\
**Last updated:** [6 March 2024 12:14 UTC](https://forum.robotframework.org/t/how-do-you-manipulate-the-functions-wait-until-element-is-visbile-scroll-and-click-element/6947 "2024-03-06T12:14:04Z")

</div>

Hello everyone! My doubt regarding this is because I would like to find the best way to keep all three functions in a single keyword to save on code. I made three different attempts and would like your opinion on them a…

---

## [How to save browser errors using Robot Framework and Selenium Library](https://forum.robotframework.org/t/how-to-save-browser-errors-using-robot-framework-and-selenium-library/6918)

<div class="topic-metadata">

**Author:** [@marmojezz](https://forum.robotframework.org/u/marmojezz)\
**Replies:** 0\
**Last updated:** [29 February 2024 12:13 UTC](https://forum.robotframework.org/t/how-to-save-browser-errors-using-robot-framework-and-selenium-library/6918 "2024-02-29T12:13:17Z")

</div>

Hi community, WHAT: I need to save the browser console error messages (like the image below) to a file if a test case fails. WHY During a performance testing running a robot script in parallel (selenium grid + doc…

---

## [Using robot framework with selenium, how to automate span elements](https://forum.robotframework.org/t/using-robot-framework-with-selenium-how-to-automate-span-elements/6888)

<div class="topic-metadata">

**Author:** [@Mania](https://forum.robotframework.org/u/Mania)\
**Replies:** 1\
**Last updated:** [23 February 2024 03:06 UTC](https://forum.robotframework.org/t/using-robot-framework-with-selenium-how-to-automate-span-elements/6888 "2024-02-23T03:06:18Z")

</div>

This is my line of code to be automate: Continue ==$0

---

## [What is the equivalent of Press keys in Selenium2library](https://forum.robotframework.org/t/what-is-the-equivalent-of-press-keys-in-selenium2library/6887)

<div class="topic-metadata">

**Author:** [@lvny28](https://forum.robotframework.org/u/lvny28)\
**Replies:** 5\
**Last updated:** [22 February 2024 20:39 UTC](https://forum.robotframework.org/t/what-is-the-equivalent-of-press-keys-in-selenium2library/6887 "2024-02-22T20:39:45Z")

</div>

Hello everyone, I am trying to run my scripts on saucelabs and because the whole page is not visible I use Press keys Down to scroll the page down to click. On my local there are no issues with press keys but when I run …

---

## [Test fails in headless mode](https://forum.robotframework.org/t/test-fails-in-headless-mode/6885)

<div class="topic-metadata">

**Author:** [@Abdullah92](https://forum.robotframework.org/u/Abdullah92)\
**Replies:** 4\
**Last updated:** [22 February 2024 19:28 UTC](https://forum.robotframework.org/t/test-fails-in-headless-mode/6885 "2024-02-22T19:28:26Z")

</div>

Hello all, I have some tests that run correctly in default mode for browser but it fails when running in headless mode

---

## [SeleniumLibrary test suites running much slower with Chrome 121](https://forum.robotframework.org/t/seleniumlibrary-test-suites-running-much-slower-with-chrome-121/6783)

<div class="topic-metadata">

**Author:** [@pandabat](https://forum.robotframework.org/u/pandabat)\
**Replies:** 4\
**Last updated:** [8 February 2024 19:57 UTC](https://forum.robotframework.org/t/seleniumlibrary-test-suites-running-much-slower-with-chrome-121/6783 "2024-02-08T19:57:19Z")

</div>

Hi there, We run test suites using SeleniumLibrary against our server UI for automated configuration and testing of various functions there. These tests were taking a total of about 35 minutes to run but we noticed that…

---

## [Cant start browser on docker image](https://forum.robotframework.org/t/cant-start-browser-on-docker-image/6395)

<div class="topic-metadata">

**Author:** [@Ultra](https://forum.robotframework.org/u/Ultra)\
**Replies:** 8\
**Last updated:** [8 February 2024 10:21 UTC](https://forum.robotframework.org/t/cant-start-browser-on-docker-image/6395 "2024-02-08T10:21:43Z")

</div>

Hello I have created a new image dockerfile but i have some issue to start my test on drivers Could you please provide solution Thank you Use the official Ubuntu as the base image FROM ubuntu:latest Set environme…

---

## [How to right click on any element - Selenium + RobotFramework](https://forum.robotframework.org/t/how-to-right-click-on-any-element-selenium-robotframework/6777)

<div class="topic-metadata">

**Author:** [@STBN03](https://forum.robotframework.org/u/STBN03)\
**Replies:** 2\
**Last updated:** [6 February 2024 15:58 UTC](https://forum.robotframework.org/t/how-to-right-click-on-any-element-selenium-robotframework/6777 "2024-02-06T15:58:19Z")

</div>

Hi, How can I right click on an element the code I use is clicking on the element instead Wait Until Keyword Succeeds ${key\_succ\_Timeout} ${key\_succ\_Timeout-interval} Click Element //span\[text()=${sRepo…

---

## [RobotFramework: Drag And Drop Selenium2 Keyword seems not to work](https://forum.robotframework.org/t/robotframework-drag-and-drop-selenium2-keyword-seems-not-to-work/5483)

<div class="topic-metadata">

**Author:** [@ketan\_r](https://forum.robotframework.org/u/ketan_r)\
**Replies:** 4\
**Last updated:** [24 March 2023 04:30 UTC](https://forum.robotframework.org/t/robotframework-drag-and-drop-selenium2-keyword-seems-not-to-work/5483 "2023-03-24T04:30:58Z")

</div>

Output I get is \*\*test shown as PASS. Element highlighted in Yellow RSI ProductiD 13 need to be drag and drop on left panel under Product. RSi Product ID 13 …

---

## [Evaluating expression 'webdriver\_manager.firefox.GeckoDriverManager().install()' failed: ValueError: response body: {"message":"API rate limit exceeded for \<IP address\>](https://forum.robotframework.org/t/evaluating-expression-webdriver-manager-firefox-geckodrivermanager-install-failed-valueerror-response-body-message-api-rate-limit-exceeded-for-ip-address/6747)

<div class="topic-metadata">

**Author:** [@EagerToLearn](https://forum.robotframework.org/u/EagerToLearn)\
**Replies:** 4\
**Last updated:** [31 January 2024 09:56 UTC](https://forum.robotframework.org/t/evaluating-expression-webdriver-manager-firefox-geckodrivermanager-install-failed-valueerror-response-body-message-api-rate-limit-exceeded-for-ip-address/6747 "2024-01-31T09:56:11Z")

</div>

Hi Mentors, Suddenly I am getting this exception when running the tests. Navigate To Products Page from Catalog | FAIL | Setup failed: Evaluating expression 'webdriver\_manager.firefox.Ge…

---

## [Robotframework selenium tests failed in docker image](https://forum.robotframework.org/t/robotframework-selenium-tests-failed-in-docker-image/6739)

<div class="topic-metadata">

**Author:** [@Marta](https://forum.robotframework.org/u/Marta)\
**Replies:** 3\
**Last updated:** [30 January 2024 14:41 UTC](https://forum.robotframework.org/t/robotframework-selenium-tests-failed-in-docker-image/6739 "2024-01-30T14:41:30Z")

</div>

Hello, I use an Alpine docker image for automated robotframework testing with the Selenium library Recently I started getting the error failed to decode response from marionette and also WebDriverException: Message: in…

---

## [Setup Failed. No browser is open message](https://forum.robotframework.org/t/setup-failed-no-browser-is-open-message/6726)

<div class="topic-metadata">

**Author:** [@LearningAutomation](https://forum.robotframework.org/u/LearningAutomation)\
**Replies:** 5\
**Last updated:** [27 January 2024 02:53 UTC](https://forum.robotframework.org/t/setup-failed-no-browser-is-open-message/6726 "2024-01-27T02:53:57Z")

</div>

I am using Robot Framework 6.1.1 and Python 3.10.4 on win32 machine. Trying to automate a process using the init.robot file. In the init.robot Suite Setup, I am using the Selenium Library. Open Browser (no webdriver) to…

---

## [Getting protocol error in Open Browser Keyword](https://forum.robotframework.org/t/getting-protocol-error-in-open-browser-keyword/6468)

<div class="topic-metadata">

**Author:** [@ar.sumi](https://forum.robotframework.org/u/ar.sumi)\
**Replies:** 13\
**Last updated:** [26 January 2024 04:42 UTC](https://forum.robotframework.org/t/getting-protocol-error-in-open-browser-keyword/6468 "2024-01-26T04:42:20Z")

</div>

Hello, I have installed robot framework in docker. While trying to run a simple script to open browser, it gives error ProtocolError: (“Connection broken: ConnectionResetError(104, ‘Connection reset by peer’)”, Connecti…

---

## [How to scroll to an element out of the current screen?](https://forum.robotframework.org/t/how-to-scroll-to-an-element-out-of-the-current-screen/1949)

<div class="topic-metadata">

**Author:** [@vgonzal](https://forum.robotframework.org/u/vgonzal)\
**Replies:** 6\
**Last updated:** [24 January 2024 16:01 UTC](https://forum.robotframework.org/t/how-to-scroll-to-an-element-out-of-the-current-screen/1949 "2024-01-24T16:01:06Z")

</div>

Hello, I’m working con SeleniumLibrary in a web where a need to go to a locator that is out of the current view. In the “real life” I use the mouse wheel to go down in the screen. I’m trying to use the “Scroll element …

---

## [NoSuchDriverException: Message: Unable to obtain driver for MicrosoftEdge using Selenium Manager](https://forum.robotframework.org/t/nosuchdriverexception-message-unable-to-obtain-driver-for-microsoftedge-using-selenium-manager/6483)

<div class="topic-metadata">

**Author:** [@vtunga2023](https://forum.robotframework.org/u/vtunga2023)\
**Replies:** 15\
**Last updated:** [9 January 2024 04:44 UTC](https://forum.robotframework.org/t/nosuchdriverexception-message-unable-to-obtain-driver-for-microsoftedge-using-selenium-manager/6483 "2024-01-09T04:44:15Z")

</div>

While running script am getting following error. " NoSuchDriverException: Message: Unable to obtain driver for MicrosoftEdge using Selenium Manager " Kindly help me on this issue.

---

## [Unable to fetch the Dynamic Console logs for edge](https://forum.robotframework.org/t/unable-to-fetch-the-dynamic-console-logs-for-edge/6578)

<div class="topic-metadata">

**Author:** [@AbhayPujari](https://forum.robotframework.org/u/AbhayPujari)\
**Replies:** 1\
**Last updated:** [27 December 2023 15:44 UTC](https://forum.robotframework.org/t/unable-to-fetch-the-dynamic-console-logs-for-edge/6578 "2023-12-27T15:44:14Z")

</div>

I am using below code but getting same logs every time and this is not giving completed console logs only I see level : ‘Severe’ and ‘Warning’ logs ${selenium}= Get Library Instance SeleniumLibrary ${webdriver}= …

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

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