# Injecting custom driver instance in SeleniumLibrary

**URL:** https://forum.robotframework.org/t/injecting-custom-driver-instance-in-seleniumlibrary/7374
**Category:** SeleniumLibrary
**Created:** [4 June 2024 16:39 UTC](https://forum.robotframework.org/t/injecting-custom-driver-instance-in-seleniumlibrary/7374 "2024-06-04T16:39:30Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![MummanaSubramanya](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/mummanasubramanya/32/3946_2.png) [@MummanaSubramanya](https://forum.robotframework.org/u/MummanaSubramanya)
#### Post date: [4 June 2024 16:39 UTC](https://forum.robotframework.org/t/injecting-custom-driver-instance-in-seleniumlibrary/7374/1 "2024-06-04T16:39:30Z")

</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 library actions like click etc

---

<div class="post-metadata">

### Author: ![HelioGuilherme66](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/helioguilherme66/32/34_2.png) [@HelioGuilherme66](https://forum.robotframework.org/u/HelioGuilherme66)
#### Post date: [4 June 2024 17:14 UTC](https://forum.robotframework.org/t/injecting-custom-driver-instance-in-seleniumlibrary/7374/2 "2024-06-04T17:14:35Z")

</div>

I think ™ that what you are asking is something like [Selenium Grid](https://www.selenium.dev/documentation/grid/), where you point your tests to the browsers in a service. In your case you would be the creator of that service, and consumer, of course. See what docs they have at Selenium, then it is a matter to adjust to SeleniumLibrary.
