# SeleniumLibrary

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

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

**Page:** 4

---

## [Error when running Robocorp plugin on PyCharm](https://forum.robotframework.org/t/error-when-running-robocorp-plugin-on-pycharm/6565)

<div class="topic-metadata">

**Author:** [@sahmed](https://forum.robotframework.org/u/sahmed)\
**Replies:** 2\
**Last updated:** [15 December 2023 09:41 UTC](https://forum.robotframework.org/t/error-when-running-robocorp-plugin-on-pycharm/6565 "2023-12-15T09:41:09Z")

</div>

Unresolved library: Selenium2LibraryExtended. Error generating libspec: Initializing library ‘Selenium2LibraryExtended’ with no arguments failed: RobotNotRunningError: Cannot access execution context I see the above err…

---

## [Error with Chrome version 115 and newer](https://forum.robotframework.org/t/error-with-chrome-version-115-and-newer/6096)

<div class="topic-metadata">

**Author:** [@CarlosPitero](https://forum.robotframework.org/u/CarlosPitero)\
**Replies:** 22\
**Last updated:** [8 December 2023 23:52 UTC](https://forum.robotframework.org/t/error-with-chrome-version-115-and-newer/6096 "2023-12-08T23:52:26Z")

</div>

Hello Everyone, I am having problems running selenium tests after updating chrome. Has anyone had problems with the chrome drivers of the new versions? I attached the pictures of my code.

---

## [How to click element in shadow-root](https://forum.robotframework.org/t/how-to-click-element-in-shadow-root/6534)

<div class="topic-metadata">

**Author:** [@Mui](https://forum.robotframework.org/u/Mui)\
**Replies:** 2\
**Last updated:** [6 December 2023 18:13 UTC](https://forum.robotframework.org/t/how-to-click-element-in-shadow-root/6534 "2023-12-06T18:13:30Z")

</div>

Excuse me, i have some problem with this element. in case i want to click a date logo (default HTML Trigger) for show up the calendar. But the id is not found (I guess cause shadow-root) How can i click this to show …

---

## [Click Element - shadowRoot](https://forum.robotframework.org/t/click-element-shadowroot/4989)

<div class="topic-metadata">

**Author:** [@Fae1](https://forum.robotframework.org/u/Fae1)\
**Replies:** 3\
**Last updated:** [1 December 2023 14:48 UTC](https://forum.robotframework.org/t/click-element-shadowroot/4989 "2023-12-01T14:48:28Z")

</div>

Hi. I’m trying to point a locator of a element that is in shadowRoot tree. I tried click on element using locator (dom:document.querySelector(“#globoads-header \> globoads-header-platform”).shadowRoot.querySelector(“hea…

---

## [Javascript can't founf getEventListeners function](https://forum.robotframework.org/t/javascript-cant-founf-geteventlisteners-function/6529)

<div class="topic-metadata">

**Author:** [@Mui](https://forum.robotframework.org/u/Mui)\
**Replies:** 2\
**Last updated:** [1 December 2023 14:39 UTC](https://forum.robotframework.org/t/javascript-cant-founf-geteventlisteners-function/6529 "2023-12-01T14:39:00Z")

</div>

exactly its running on Console Have an alternative method?

---

## [Create Webdriver is shooting out a proxy error](https://forum.robotframework.org/t/create-webdriver-is-shooting-out-a-proxy-error/6515)

<div class="topic-metadata">

**Author:** [@vdavis345](https://forum.robotframework.org/u/vdavis345)\
**Replies:** 1\
**Last updated:** [29 November 2023 08:44 UTC](https://forum.robotframework.org/t/create-webdriver-is-shooting-out-a-proxy-error/6515 "2023-11-29T08:44:25Z")

</div>

How would I set the proxy for create webdriver Chrome. Error: \*\*Setup failed: ProxySchemeUnknown: Proxy URL had no scheme, should start with http:// or https:// \*\*

---

## [Press keys actions](https://forum.robotframework.org/t/press-keys-actions/6509)

<div class="topic-metadata">

**Author:** [@Mahesh](https://forum.robotframework.org/u/Mahesh)\
**Replies:** 6\
**Last updated:** [25 November 2023 21:49 UTC](https://forum.robotframework.org/t/press-keys-actions/6509 "2023-11-25T21:49:46Z")

</div>

Is it possible to perform “capslock” button action using “press keys” Keyword

---

## [Open Browser Shows SessionNotCreatedException](https://forum.robotframework.org/t/open-browser-shows-sessionnotcreatedexception/6500)

<div class="topic-metadata">

**Author:** [@TheRoboUser](https://forum.robotframework.org/u/TheRoboUser)\
**Replies:** 10\
**Last updated:** [24 November 2023 11:25 UTC](https://forum.robotframework.org/t/open-browser-shows-sessionnotcreatedexception/6500 "2023-11-24T11:25:09Z")

</div>

When I run Open Browser locally on my mac machine, everything works smoothly. When I launch the same command remotely via Jenkins job on my remote mac machine, I get following error: Setup failed: SessionNotCreatedExce…

---

## [Chrome Browser Automatically closing in Windows even though Close All Browsers is not present in the script](https://forum.robotframework.org/t/chrome-browser-automatically-closing-in-windows-even-though-close-all-browsers-is-not-present-in-the-script/6470)

<div class="topic-metadata">

**Author:** [@Srini123](https://forum.robotframework.org/u/Srini123)\
**Replies:** 0\
**Last updated:** [14 November 2023 17:28 UTC](https://forum.robotframework.org/t/chrome-browser-automatically-closing-in-windows-even-though-close-all-browsers-is-not-present-in-the-script/6470 "2023-11-14T17:28:02Z")

</div>

pip list: robotframework 6.1.1 robotframework-databaselibrary 1.3.1 robotframework-excellib 2.0.1 robotframework-lsp 1.11.0 robotframework-pythonlibcore 4.2.0 robotframewor…

---

## [Clear Element Text doesn't seem to work](https://forum.robotframework.org/t/clear-element-text-doesnt-seem-to-work/6467)

<div class="topic-metadata">

**Author:** [@Bolle13](https://forum.robotframework.org/u/Bolle13)\
**Replies:** 4\
**Last updated:** [16 November 2023 08:15 UTC](https://forum.robotframework.org/t/clear-element-text-doesnt-seem-to-work/6467 "2023-11-16T08:15:21Z")

</div>

I’m new at Robot Framework and trying a simple authentication test scenario. I start with the url of my email provider, fill in a wrong email adress and wrong password using: Click Element xpath=//\[@id=“ff-email”\] …

---

## [Open browser Show blank Page](https://forum.robotframework.org/t/open-browser-show-blank-page/6469)

<div class="topic-metadata">

**Author:** [@Ultra](https://forum.robotframework.org/u/Ultra)\
**Replies:** 11\
**Last updated:** [15 November 2023 20:25 UTC](https://forum.robotframework.org/t/open-browser-show-blank-page/6469 "2023-11-15T20:25:54Z")

</div>

Hello Im using robot framework with selenium but i get a blank page when im executing Go to ${URL} this is my requirement robotframework==4.0.3 robotframework-seleniumlibrary==5.1.1 selenium==4.0.0 and this …

---

## [Install ChromeDriver and execute Robot Selenium tests in the Azure DevOps](https://forum.robotframework.org/t/install-chromedriver-and-execute-robot-selenium-tests-in-the-azure-devops/6404)

<div class="topic-metadata">

**Author:** [@KPrasad](https://forum.robotframework.org/u/KPrasad)\
**Replies:** 9\
**Last updated:** [10 November 2023 02:14 UTC](https://forum.robotframework.org/t/install-chromedriver-and-execute-robot-selenium-tests-in-the-azure-devops/6404 "2023-11-10T02:14:42Z")

</div>

Hi, I am working on UI automation using the Robot Framework Selenium library. Currently, the code is in my local repository, but I would like to create a test pipeline(Azure Devops). However, I am facing the following c…

---

## [Importing library 'SeleniumLibrary' failed](https://forum.robotframework.org/t/importing-library-seleniumlibrary-failed/6440)

<div class="topic-metadata">

**Author:** [@GayathriYashas](https://forum.robotframework.org/u/GayathriYashas)\
**Replies:** 1\
**Last updated:** [8 November 2023 04:25 UTC](https://forum.robotframework.org/t/importing-library-seleniumlibrary-failed/6440 "2023-11-08T04:25:49Z")

</div>

Hello, I am a simple script created below to open a google web page. When I exeute the script from the IDE terminal, it works fine. However when I execute the same script from the batch file it throws an error about Sel…

---

## [How to get child webelement using parent webelement](https://forum.robotframework.org/t/how-to-get-child-webelement-using-parent-webelement/6427)

<div class="topic-metadata">

**Author:** [@rkautomation](https://forum.robotframework.org/u/rkautomation)\
**Replies:** 2\
**Last updated:** [6 November 2023 10:12 UTC](https://forum.robotframework.org/t/how-to-get-child-webelement-using-parent-webelement/6427 "2023-11-06T10:12:42Z")

</div>

parent\_elm = driver.find\_element(By.XPATH, “”) child\_elm = parent\_elm.find\_element(By., “”) I want to implement same thing in robot framework. which some how makes some verification and validation makes it easy. Pleas…

---

## [Test case failed screenshot](https://forum.robotframework.org/t/test-case-failed-screenshot/6426)

<div class="topic-metadata">

**Author:** [@Mahesh](https://forum.robotframework.org/u/Mahesh)\
**Replies:** 1\
**Last updated:** [4 November 2023 20:37 UTC](https://forum.robotframework.org/t/test-case-failed-screenshot/6426 "2023-11-04T20:37:56Z")

</div>

I don’t want robotframework automatically takes testcase failed screenshot. In robotframework it will automatically takes the testcase failed screen shot and stored it in default path. How to change the default path to …

---

## [Robot framework test on edge](https://forum.robotframework.org/t/robot-framework-test-on-edge/6366)

<div class="topic-metadata">

**Author:** [@Ultra](https://forum.robotframework.org/u/Ultra)\
**Replies:** 15\
**Last updated:** [24 October 2023 10:31 UTC](https://forum.robotframework.org/t/robot-framework-test-on-edge/6366 "2023-10-24T10:31:15Z")

</div>

hello, im using docker image on gitlab runner with ubuntu 20.04 and edge driver 115.0.1901.183 robotframework==4.1.3 robotframework-seleniumlibrary==5.1.3 But im getting " Evaluating expression ‘sys.modules\[‘seleni…

---

## [Not able to use desired\_capabilities](https://forum.robotframework.org/t/not-able-to-use-desired-capabilities/6349)

<div class="topic-metadata">

**Author:** [@Siyashree](https://forum.robotframework.org/u/Siyashree)\
**Replies:** 4\
**Last updated:** [12 October 2023 12:48 UTC](https://forum.robotframework.org/t/not-able-to-use-desired-capabilities/6349 "2023-10-12T12:48:18Z")

</div>

Hi there, I have windows 11 and selenium 4.4.3 on my PC and was trying to use sauce labs to execute automation tests on safari with this keyword Open Browser ${URL} ${Browser} remote\_url= desired\_capabiliti…

---

## [How to specify firefox version in robot framework](https://forum.robotframework.org/t/how-to-specify-firefox-version-in-robot-framework/6318)

<div class="topic-metadata">

**Author:** [@mobiNikrou](https://forum.robotframework.org/u/mobiNikrou)\
**Replies:** 1\
**Last updated:** [8 October 2023 08:42 UTC](https://forum.robotframework.org/t/how-to-specify-firefox-version-in-robot-framework/6318 "2023-10-08T08:42:36Z")

</div>

I am using “SeleniumLibrary” in robot framework . I installed two version of firefox in my machine . I would like to use the specific custom path of firefox for executing the automation .Please help me out to sort out th…

---

## [Not able to launch chrome 117](https://forum.robotframework.org/t/not-able-to-launch-chrome-117/6301)

<div class="topic-metadata">

**Author:** [@Siyashree](https://forum.robotframework.org/u/Siyashree)\
**Replies:** 1\
**Last updated:** [5 October 2023 10:41 UTC](https://forum.robotframework.org/t/not-able-to-launch-chrome-117/6301 "2023-10-05T10:41:33Z")

</div>

Hi I was using chrome browser Version 117.0.5938.150 and Selenium Version: 4.12.0. but the “Open Browser” keyword has failed with the error, NoSuchDriverException: Message: Unable to obtain driver for chrome using Sele…

---

## [Getting error while running the robot test cases](https://forum.robotframework.org/t/getting-error-while-running-the-robot-test-cases/6299)

<div class="topic-metadata">

**Author:** [@bharath](https://forum.robotframework.org/u/bharath)\
**Replies:** 0\
**Last updated:** [5 October 2023 05:25 UTC](https://forum.robotframework.org/t/getting-error-while-running-the-robot-test-cases/6299 "2023-10-05T05:25:01Z")

</div>

I installed the robot framework in linux (CENTOS). google-chrome version: 114.0.5735.133 chromedriver version: 114.0.5735.90 path of chromedriver and google-chrome : /usr/bin/google-chrome and /usr/bin/chromedriver. s…

---

## [How to add Selenium Arg. in addition to chrome arg](https://forum.robotframework.org/t/how-to-add-selenium-arg-in-addition-to-chrome-arg/1639)

<div class="topic-metadata">

**Author:** [@amekkaoui](https://forum.robotframework.org/u/amekkaoui)\
**Replies:** 3\
**Last updated:** [6 September 2023 10:01 UTC](https://forum.robotframework.org/t/how-to-add-selenium-arg-in-addition-to-chrome-arg/1639 "2023-09-06T10:01:00Z")

</div>

Hello, I have a problematic in adding selenoid (docker) arguments as follow: &{REMOTE\_CAPABILITIES} name=${None} videoName=${None} enableVideo=${True} enableVNC=${True} screenResolution=1920x1080x24 videoS…

---

## [When trying to insert executable\_path on script not getting the executable method](https://forum.robotframework.org/t/when-trying-to-insert-executable-path-on-script-not-getting-the-executable-method/6112)

<div class="topic-metadata">

**Author:** [@testing](https://forum.robotframework.org/u/testing)\
**Replies:** 2\
**Last updated:** [22 August 2023 15:07 UTC](https://forum.robotframework.org/t/when-trying-to-insert-executable-path-on-script-not-getting-the-executable-method/6112 "2023-08-22T15:07:57Z")

</div>

---

## [Chrome not opening when run "Open Chrome browser" or "Open Browser keyword"](https://forum.robotframework.org/t/chrome-not-opening-when-run-open-chrome-browser-or-open-browser-keyword/5630)

<div class="topic-metadata">

**Author:** [@saravanansubramani-r](https://forum.robotframework.org/u/saravanansubramani-r)\
**Replies:** 6\
**Last updated:** [11 August 2023 01:58 UTC](https://forum.robotframework.org/t/chrome-not-opening-when-run-open-chrome-browser-or-open-browser-keyword/5630 "2023-08-11T01:58:08Z")

</div>

Hello , I am getting the following error while trying to run robot framework keyword Code: “Open Chrome Browser ${URL} maximized=true” “Open Browser ${URL} browser=chrome executable\_path=C:\\chromedriver\_w…

---

## [Keyword 'Capture Page Screenshot' could not be run on failure](https://forum.robotframework.org/t/keyword-capture-page-screenshot-could-not-be-run-on-failure/6054)

<div class="topic-metadata">

**Author:** [@madhurya](https://forum.robotframework.org/u/madhurya)\
**Replies:** 2\
**Last updated:** [8 August 2023 04:57 UTC](https://forum.robotframework.org/t/keyword-capture-page-screenshot-could-not-be-run-on-failure/6054 "2023-08-08T04:57:39Z")

</div>

Hi Team, I keep getting the below error while executing test cases for long hours Keyword ‘Capture Page Screenshot’ could not be run on failure: InvalidSessionIdException: Message: invalid session id WebDriverExceptio…

---

## [Is it possible to run test suites in a way that you only open Browser once](https://forum.robotframework.org/t/is-it-possible-to-run-test-suites-in-a-way-that-you-only-open-browser-once/6049)

<div class="topic-metadata">

**Author:** [@KPrasad](https://forum.robotframework.org/u/KPrasad)\
**Replies:** 12\
**Last updated:** [6 August 2023 11:44 UTC](https://forum.robotframework.org/t/is-it-possible-to-run-test-suites-in-a-way-that-you-only-open-browser-once/6049 "2023-08-06T11:44:24Z")

</div>

I am testing a Webportal which has a Muti Factor Authentication. And I do not want webdriver to open a new browser everytime a new feature/Test Suite is executed. In order to do this there are only two options: Retaiin…

---

## [Combine xpath to a string/Integer](https://forum.robotframework.org/t/combine-xpath-to-a-string-integer/6059)

<div class="topic-metadata">

**Author:** [@KPrasad](https://forum.robotframework.org/u/KPrasad)\
**Replies:** 2\
**Last updated:** [6 August 2023 08:48 UTC](https://forum.robotframework.org/t/combine-xpath-to-a-string-integer/6059 "2023-08-06T08:48:52Z")

</div>

Can anyone please look into the below issue. Here I am trying to Catenate Xpath with a random number. So that I can randomly select any item from the list(for example from 1 to 10). But the scripts produces a strange out…

---

## [Choose file not working in firefox](https://forum.robotframework.org/t/choose-file-not-working-in-firefox/5827)

<div class="topic-metadata">

**Author:** [@BeHappy](https://forum.robotframework.org/u/BeHappy)\
**Replies:** 4\
**Last updated:** [5 August 2023 09:49 UTC](https://forum.robotframework.org/t/choose-file-not-working-in-firefox/5827 "2023-08-05T09:49:21Z")

</div>

Hello, I am testing inserting a file via Choose File however for some reason when I run this test in firefox I get a “File not found” error (If I run the same test in chrome or edge it runs fine) Do you know what the pro…

---

## [Announcing the release of SeleniumLibrary v6.1.1](https://forum.robotframework.org/t/announcing-the-release-of-seleniumlibrary-v6-1-1/6060)

<div class="topic-metadata">

**Author:** [@EdManlove](https://forum.robotframework.org/u/EdManlove)\
**Replies:** 0\
**Last updated:** [4 August 2023 13:52 UTC](https://forum.robotframework.org/t/announcing-the-release-of-seleniumlibrary-v6-1-1/6060 "2023-08-04T13:52:15Z")

</div>

:robot: ANNOUNCEMENT: SeleniumLibrary v6.1.1 has been released to resolve the incompatibility with Selenium 4.10.0+ issue :robot: SeleniumLibrary version 6.1.1 - which fixes the issue with Selenium v4.10.0+ - has bee…

---

## [ANNOUNCEMENT: SeleniumLibrary v 6.1.1rc1 has been released to resolve the incompatibility with Selenium 4.10.0+ issue](https://forum.robotframework.org/t/announcement-seleniumlibrary-v-6-1-1rc1-has-been-released-to-resolve-the-incompatibility-with-selenium-4-10-0-issue/6046)

<div class="topic-metadata">

**Author:** [@EdManlove](https://forum.robotframework.org/u/EdManlove)\
**Replies:** 0\
**Last updated:** [2 August 2023 03:56 UTC](https://forum.robotframework.org/t/announcement-seleniumlibrary-v-6-1-1rc1-has-been-released-to-resolve-the-incompatibility-with-selenium-4-10-0-issue/6046 "2023-08-02T03:56:37Z")

</div>

:robot: ANNOUNCEMENT: SeleniumLibrary v 6.1.1rc1 has been released to resolve the incompatibility with Selenium 4.10.0+ issue :robot: I have made a release candidate - v6.1.1 - which fixes the issue with Selenium v4.1…

---

## [Pass the Browser Instance to CustomLibrary](https://forum.robotframework.org/t/pass-the-browser-instance-to-customlibrary/5974)

<div class="topic-metadata">

**Author:** [@TobiasM](https://forum.robotframework.org/u/TobiasM)\
**Replies:** 1\
**Last updated:** [1 August 2023 21:50 UTC](https://forum.robotframework.org/t/pass-the-browser-instance-to-customlibrary/5974 "2023-08-01T21:50:06Z")

</div>

Hello everybody, I’m new to Robot Framework and Keyword based programming. I got the Following Code files: Test.robot Summary\*\*\* Settings \*\*\* Documentation RobotFramework-testen Metadata …

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

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